Skip to content
Permalink
Browse files
Fix for bug #978, topological editing is already considered when gene…
…rating QgsMapToolAddVertex::mRecentSnappingResults

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8753 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jul 11, 2008
1 parent ddc86a1 commit 93a070847e02b897e5ded1cb489daf779fef67c0
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/app/qgsmaptooladdvertex.cpp
@@ -94,12 +94,6 @@ void QgsMapToolAddVertex::canvasReleaseEvent(QMouseEvent * e)
snappedPointMapCoord = snapPointFromResults(snapResults, e->pos());
snappedPointLayerCoord = toLayerCoords(vlayer, snappedPointMapCoord);

int topologicalEditing = QgsProject::instance()->readNumEntry("Digitizing", "/TopologicalEditing", 0);
if(topologicalEditing)
{
insertSegmentVerticesForSnap(snapResults, vlayer);
}

//and change the feature points
QList<QgsSnappingResult>::iterator sr_it = mRecentSnappingResults.begin();
for(; sr_it != mRecentSnappingResults.end(); ++sr_it)

0 comments on commit 93a0708

Please sign in to comment.