mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
Fix another issue with reshape tool and polygons with rings
This commit is contained in:
parent
3ab1230bac
commit
2948c45cba
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user