Skip to content

Commit 67b6054

Browse files
author
mhugent
committed
Fix for problem with split tool and topological editing
git-svn-id: http://svn.osgeo.org/qgis/trunk@10788 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ae73a32 commit 67b6054

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/qgsvectorlayer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1804,6 +1804,8 @@ int QgsVectorLayer::splitFeatures( const QList<QgsPoint>& splitLine, bool topolo
18041804
{
18051805
//change this geometry
18061806
mChangedGeometries.insert( select_it->id(), *( select_it->geometry() ) );
1807+
//update of cached geometries is necessary because we use addTopologicalPoints() later
1808+
mCachedGeometries[select_it->id()] = *( select_it->geometry() );
18071809

18081810
//insert new features
18091811
for ( int i = 0; i < newGeometries.size(); ++i )

0 commit comments

Comments
 (0)