Skip to content
Permalink
Browse files

Avoid recursive changeGeometry

  • Loading branch information
m-kuhn committed Oct 3, 2018
1 parent 29b1dd7 commit 8085200330bb24ee5fe8fca07f889676f88ee525
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/analysis/vector/geometry_checker/qgsvectorlayerfeaturepool.cpp
@@ -135,12 +135,13 @@ void QgsVectorLayerFeaturePool::deleteFeature( QgsFeatureId fid )

void QgsVectorLayerFeaturePool::onGeometryChanged( QgsFeatureId fid, const QgsGeometry &geometry )
{
Q_UNUSED( geometry )

if ( isFeatureCached( fid ) )
{
QgsFeature feature;
getFeature( fid, feature );
feature.setGeometry( geometry );
updateFeature( feature );
refreshCache( feature );
}
}

0 comments on commit 8085200

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