Skip to content

Commit

Permalink
Fix for bug #978, topological editing is already considered when gene…
Browse files Browse the repository at this point in the history
…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 6972f69
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/app/qgsmaptooladdvertex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6972f69

Please sign in to comment.