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@8753 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jul 11, 2008
1 parent 159a004 commit 6972f69e688e5183ffaa101334d7c5c05afde00a
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 6972f69

Please sign in to comment.