Skip to content

Commit

Permalink
@cluster_color should default to null, not empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 10, 2016
1 parent ddfe91f commit 6fd5815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgspointdistancerenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ QgsExpressionContextScope* QgsPointDistanceRenderer::createGroupScope( const Clu
else
{
//mixed colors
clusterScope->setVariable( QgsExpressionContext::EXPR_CLUSTER_COLOR, "" );
clusterScope->setVariable( QgsExpressionContext::EXPR_CLUSTER_COLOR, QVariant() );
}

clusterScope->setVariable( QgsExpressionContext::EXPR_CLUSTER_SIZE, group.size() );
Expand Down

1 comment on commit 6fd5815

@andreasneumann
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Please sign in to comment.