Skip to content

Commit

Permalink
Fix incorrect evaluation of data defined end color for shapeburst fills
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 11, 2019
1 parent 2aeb38c commit 7e39711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology/qgsfillsymbollayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ void QgsShapeburstFillSymbolLayer::applyDataDefinedSymbology( QgsSymbolRenderCon
if ( mDataDefinedProperties.isActive( QgsSymbolLayer::PropertySecondaryColor ) )
{
context.setOriginalValueVariable( QgsSymbolLayerUtils::encodeColor( mColor2 ) );
color = mDataDefinedProperties.valueAsColor( QgsSymbolLayer::PropertySecondaryColor, context.renderContext().expressionContext(), mColor2 );
color2 = mDataDefinedProperties.valueAsColor( QgsSymbolLayer::PropertySecondaryColor, context.renderContext().expressionContext(), mColor2 );
}

//blur radius
Expand Down

0 comments on commit 7e39711

Please sign in to comment.