Skip to content
Permalink
Browse files

Fix another issue with reshape tool and polygons with rings

  • Loading branch information
nyalldawson committed Jun 8, 2015
1 parent 3ab1230 commit 2948c45cba7358713e940b87ce0519185f6b0cc2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/geometry/qgsgeos.cpp
@@ -1907,7 +1907,7 @@ GEOSGeometry* QgsGeos::reshapePolygon( const GEOSGeometry* polygon, const GEOSGe
QList<GEOSGeometry*> ringList;
if ( nRings > 0 )
{
GEOSGeometry* outerRingPoly = GEOSGeom_createPolygon_r( geosinit.ctxt, GEOSGeom_clone( newOuterRing ), 0, 0 );
GEOSGeometry* outerRingPoly = GEOSGeom_createPolygon_r( geosinit.ctxt, GEOSGeom_clone_r( geosinit.ctxt, newOuterRing ), 0, 0 );
if ( outerRingPoly )
{
GEOSGeometry* currentRing = 0;

0 comments on commit 2948c45

Please sign in to comment.
You can’t perform that action at this time.