Skip to content
Permalink
Browse files

QgsSymbolV2: only pop expression scope if it was really added

(cherry-picked from ef77e19)
  • Loading branch information
nyalldawson committed Apr 15, 2016
1 parent e8dc831 commit 0161497368612f0615eb9ab69b2bea1ad618e4e1
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/symbology-ng/qgssymbolv2.cpp
@@ -934,7 +934,8 @@ void QgsSymbolV2::renderFeature( const QgsFeature& feature, QgsRenderContext& co
delete segmentizedGeometry;
}

context.expressionContext().popScope();
if ( mSymbolRenderContext->expressionContextScope() )
context.expressionContext().popScope();
}

QgsSymbolV2RenderContext* QgsSymbolV2::symbolRenderContext()

0 comments on commit 0161497

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