mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Fix data defined symbology for embedded layers
This commit is contained in:
parent
cb193d9f42
commit
fdd8199228
@ -710,6 +710,10 @@ QSet<QString> QgsMarkerLineSymbolLayerV2::usedAttributes() const
|
||||
{
|
||||
attributes.insert( *it );
|
||||
}
|
||||
if ( mMarker )
|
||||
{
|
||||
attributes.unite( mMarker->usedAttributes() );
|
||||
}
|
||||
return attributes;
|
||||
}
|
||||
|
||||
@ -791,7 +795,7 @@ void QgsMarkerLineSymbolLayerV2::startRender( QgsSymbolV2RenderContext& context
|
||||
hints |= QgsSymbolV2::DataDefinedSizeScale;
|
||||
mMarker->setRenderHints( hints );
|
||||
|
||||
mMarker->startRender( context.renderContext() );
|
||||
mMarker->startRender( context.renderContext(), context.layer() );
|
||||
|
||||
//prepare expressions for data defined properties
|
||||
prepareExpressions( context.layer() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user