mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
fix topological edition when mid segment is snapped [vertex tool]
This commit is contained in:
parent
430031f23f
commit
4d50f005c7
@ -2134,7 +2134,7 @@ void QgsVertexTool::moveVertex( const QgsPointXY &mapPoint, const QgsPointLocato
|
||||
|
||||
applyEditsToLayers( edits );
|
||||
|
||||
if ( QgsProject::instance()->topologicalEditing() && mapPointMatch->hasEdge() && mapPointMatch->layer() )
|
||||
if ( QgsProject::instance()->topologicalEditing() && ( mapPointMatch->hasEdge() || mapPointMatch->hasMiddleSegment() ) && mapPointMatch->layer() )
|
||||
{
|
||||
// topo editing: add vertex to existing segments when moving/adding a vertex to such segment.
|
||||
// this requires that the snapping match is to a segment and the segment layer's CRS
|
||||
|
Loading…
x
Reference in New Issue
Block a user