From 495091da14de7b5ecad2c56e22139cfa4b2ee813 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Fri, 21 Jun 2024 09:34:15 +1000 Subject: [PATCH] Update src/core/symbology/qgssymbol.cpp --- src/core/symbology/qgssymbol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/symbology/qgssymbol.cpp b/src/core/symbology/qgssymbol.cpp index fa46fb84978f..7efebe820228 100644 --- a/src/core/symbology/qgssymbol.cpp +++ b/src/core/symbology/qgssymbol.cpp @@ -1655,7 +1655,7 @@ void QgsSymbol::renderFeature( const QgsFeature &feature, QgsRenderContext &cont mSymbolRenderContext->expressionContextScope()->addVariable( QgsExpressionContextScope::StaticVariable( QStringLiteral( "symbol_layer_count" ), mLayers.count(), true ) ); const bool maskGeometriesDisabledForSymbol = context.testFlag( Qgis::RenderContextFlag::AlwaysUseGlobalMasks ) - && !mRenderHints.testFlag( Qgis::SymbolRenderHint::IsSymbolLayerSubSymbol ); + && !mRenderHints.testFlag( Qgis::SymbolRenderHint::IsSymbolLayerSubSymbol ); for ( const int symbolLayerIndex : layers ) {