Skip to content
Permalink
Browse files

Fix data defined symbology for embedded layers

  • Loading branch information
mhugent committed Mar 28, 2013
1 parent cb193d9 commit fdd8199228477bee13ad60c879d6f91f59e06563
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/core/symbology-ng/qgslinesymbollayerv2.cpp
@@ -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() );

0 comments on commit fdd8199

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