Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
prepare before getting referenced fields
- Loading branch information
Showing
with
3 additions
and
0 deletions.
-
+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; |
|
|
} |