Skip to content
Permalink
Browse files

avoid to prepare expression for SVG dynamic parameters (#40899)

  • Loading branch information
3nids committed Jan 8, 2021
1 parent 0120e0f commit d81521e47d5dcc84a027d0fb81633226940f4814
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core/symbology/qgsmarkersymbollayer.cpp
@@ -3550,8 +3550,7 @@ QSet<QString> QgsSvgMarkerSymbolLayer::usedAttributes( const QgsRenderContext &c
QMap<QString, QgsProperty>::const_iterator it = mParameters.constBegin();
for ( ; it != mParameters.constEnd(); ++it )
{
it.value().prepare( context.expressionContext() );
attrs.unite( it.value().referencedFields( context.expressionContext() ) );
attrs.unite( it.value().referencedFields( context.expressionContext(), true ) );
}

return attrs;

0 comments on commit d81521e

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