Skip to content

Commit

Permalink
Add guard
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 23, 2018
1 parent f69e58f commit d24ffbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/qgsvectorlayer.cpp
Expand Up @@ -2526,7 +2526,8 @@ bool QgsVectorLayer::changeGeometry( QgsFeatureId fid, QgsGeometry &geom, bool s
return false;
}

applyGeometryFixes( geom );
if ( geometryFixesEnabled() )
applyGeometryFixes( geom );

updateExtents();

Expand Down

0 comments on commit d24ffbc

Please sign in to comment.