Skip to content
Permalink
Browse files

Fix delete ring tool not updating rendered feature (fix #14741)

(cherry-picked from 6c9bc93)
  • Loading branch information
nyalldawson committed Apr 29, 2016
1 parent 2d4d0c0 commit 824494715a400f02a6b1310de4d946889860f608
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/core/geometry/qgsgeometry.cpp
@@ -1509,8 +1509,9 @@ bool QgsGeometry::deleteRing( int ringNum, int partNum )
}

detach( true );

return QgsGeometryEditUtils::deleteRing( d->geometry, ringNum, partNum );
bool ok = QgsGeometryEditUtils::deleteRing( d->geometry, ringNum, partNum );
removeWkbGeos();
return ok;
}

bool QgsGeometry::deletePart( int partNum )
@@ -1661,6 +1662,7 @@ void QgsGeometry::mapToPixel( const QgsMapToPixel& mtp )
{
detach();
d->geometry->transform( mtp.transform() );
removeWkbGeos();
}
}

0 comments on commit 8244947

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