Skip to content

Commit

Permalink
Fix for problem with split tool and topological editing
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@10788 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 13, 2009
1 parent ae73a32 commit 67b6054
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsvectorlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1804,6 +1804,8 @@ int QgsVectorLayer::splitFeatures( const QList<QgsPoint>& splitLine, bool topolo
{
//change this geometry
mChangedGeometries.insert( select_it->id(), *( select_it->geometry() ) );
//update of cached geometries is necessary because we use addTopologicalPoints() later
mCachedGeometries[select_it->id()] = *( select_it->geometry() );

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

0 comments on commit 67b6054

Please sign in to comment.