We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 843d17e commit 6076451Copy full SHA for 6076451
src/app/nodetool/qgsmaptoolnodetool.cpp
@@ -762,6 +762,11 @@ int QgsMapToolNodeTool::insertSegmentVerticesForSnap( const QList<QgsSnappingRes
762
QList<QgsSnappingResult>::const_iterator it = snapResults.constBegin();
763
for ( ; it != snapResults.constEnd(); ++it )
764
{
765
+ //skip if snappingResult is in a different layer
766
+ //See http://hub.qgis.org/issues/13952#note-29
767
+ if ( it->layer != editedLayer )
768
+ continue;
769
+
770
//skip if id is in skip list or we have already added a vertex to a feature
771
if ( skipFids.contains( it->snappedAtGeometry ) || addedFeatures.contains( it->snappedAtGeometry ) )
772
continue;
0 commit comments