Skip to content

Commit

Permalink
Fix geometry generator condition
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Mar 11, 2019
1 parent 6d465f0 commit 67555c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgspallabeling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ bool QgsPalLayerSettings::prepare( const QgsRenderContext &context, QSet<QString

mFeatsSendingToPal = 0;

if ( !mGeometryGeneratorExpression.isValid() )
if ( geometryGeneratorEnabled )
{
mGeometryGeneratorExpression = QgsExpression( geometryGenerator );
mGeometryGeneratorExpression.prepare( &context.expressionContext() );
Expand Down

0 comments on commit 67555c8

Please sign in to comment.