[QGIS Commit] r8753 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Jul 11 12:14:33 EDT 2008


Author: mhugent
Date: 2008-07-11 12:14:33 -0400 (Fri, 11 Jul 2008)
New Revision: 8753

Modified:
   trunk/qgis/src/app/qgsmaptooladdvertex.cpp
Log:
Fix for bug #978, topological editing is already considered when generating QgsMapToolAddVertex::mRecentSnappingResults

Modified: trunk/qgis/src/app/qgsmaptooladdvertex.cpp
===================================================================
--- trunk/qgis/src/app/qgsmaptooladdvertex.cpp	2008-07-11 15:06:39 UTC (rev 8752)
+++ trunk/qgis/src/app/qgsmaptooladdvertex.cpp	2008-07-11 16:14:33 UTC (rev 8753)
@@ -94,12 +94,6 @@
       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)



More information about the QGIS-commit mailing list