@cluster_color should default to null, not empty string

This commit is contained in:
Nyall Dawson 2016-10-10 19:15:02 +10:00
parent ddfe91f763
commit 6fd5815523

View File

@ -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() );