Skip to content

Commit 6972f69

Browse files
author
mhugent
committed
Fix for bug #978, topological editing is already considered when generating QgsMapToolAddVertex::mRecentSnappingResults
git-svn-id: http://svn.osgeo.org/qgis/trunk@8753 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 159a004 commit 6972f69

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/app/qgsmaptooladdvertex.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,6 @@ void QgsMapToolAddVertex::canvasReleaseEvent(QMouseEvent * e)
9494
snappedPointMapCoord = snapPointFromResults(snapResults, e->pos());
9595
snappedPointLayerCoord = toLayerCoords(vlayer, snappedPointMapCoord);
9696

97-
int topologicalEditing = QgsProject::instance()->readNumEntry("Digitizing", "/TopologicalEditing", 0);
98-
if(topologicalEditing)
99-
{
100-
insertSegmentVerticesForSnap(snapResults, vlayer);
101-
}
102-
10397
//and change the feature points
10498
QList<QgsSnappingResult>::iterator sr_it = mRecentSnappingResults.begin();
10599
for(; sr_it != mRecentSnappingResults.end(); ++sr_it)

0 commit comments

Comments
 (0)