Skip to content
Permalink
Browse files

prepare before getting referenced fields

  • Loading branch information
3nids committed Jan 7, 2021
1 parent cfc8f03 commit 5e2cbab022650ce3a17b8853f22dd7a7a72ef4b7
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/symbology/qgsmarkersymbollayer.cpp
@@ -3549,7 +3549,10 @@ 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() ) );
}

return attrs;
}

0 comments on commit 5e2cbab

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