Skip to content
Permalink
Browse files

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

  • Loading branch information
nyalldawson committed Apr 29, 2016
1 parent ef51b70 commit 6c9bc938125376a2670ecf9047eff5ca853bf3ba
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/core/geometry/qgsgeometry.cpp
@@ -1525,8 +1525,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 )
@@ -1677,6 +1678,7 @@ void QgsGeometry::mapToPixel( const QgsMapToPixel& mtp )
{
detach();
d->geometry->transform( mtp.transform() );
removeWkbGeos();
}
}

0 comments on commit 6c9bc93

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