Skip to content
Permalink
Browse files

Ellipse marker support for color expressions (Fix #9114)

  • Loading branch information
m-kuhn committed Nov 25, 2013
1 parent f665ddc commit c1d2798f47b7788f8b81eaf4b9f8707487f5919f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/symbology-ng/qgsellipsesymbollayerv2.cpp
@@ -195,12 +195,12 @@ void QgsEllipseSymbolLayerV2::renderPoint( const QPointF& point, QgsSymbolV2Rend
if ( fillColorExpression )
{
QString colorString = fillColorExpression->evaluate( const_cast<QgsFeature*>( context.feature() ) ).toString();
mBrush.setColor( QColor( colorString ) );
mBrush.setColor( QColor( QgsSymbolLayerV2Utils::decodeColor( colorString ) ) );
}
if ( outlineColorExpression )
{
QString colorString = outlineColorExpression->evaluate( const_cast<QgsFeature*>( context.feature() ) ).toString();
mPen.setColor( QColor( colorString ) );
mPen.setColor( QColor( QgsSymbolLayerV2Utils::decodeColor( colorString ) ) );
}
if ( widthExpression || heightExpression || symbolNameExpression )
{

0 comments on commit c1d2798

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