We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c16a95 commit 6d6aa8dCopy full SHA for 6d6aa8d
src/core/symbology-ng/qgsvectorfieldsymbollayer.cpp
@@ -283,7 +283,7 @@ void QgsVectorFieldSymbolLayer::drawPreviewIcon( QgsSymbolV2RenderContext& conte
283
284
QSet<QString> QgsVectorFieldSymbolLayer::usedAttributes() const
285
{
286
- QSet<QString> attributes;
+ QSet<QString> attributes = QgsMarkerSymbolLayerV2::usedAttributes();
287
if ( !mXAttribute.isEmpty() )
288
289
attributes.insert( mXAttribute );
@@ -292,6 +292,10 @@ QSet<QString> QgsVectorFieldSymbolLayer::usedAttributes() const
292
293
attributes.insert( mYAttribute );
294
}
295
+ if ( mLineSymbol )
296
+ {
297
+ attributes.unite( mLineSymbol->usedAttributes() );
298
+ }
299
return attributes;
300
301
0 commit comments