Skip to content
Permalink
Browse files

fix #12876: data-defined size was too small

The scale methos "by area" was still defined at the symbol level causing
an extra sqare root to be applied to the size.
  • Loading branch information
vmora committed Jun 5, 2015
1 parent 9d38b71 commit 65a57edc642af9578959899e03dbaccf574646df
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/symbology-ng/qgsrendererv2.cpp
@@ -675,6 +675,7 @@ void QgsFeatureRendererV2::convertSymbolSizeScale( QgsSymbolV2 * symbol, QgsSymb
const QgsDataDefined dd( QString::number( s->size() ) + " * (" + field + ")" );
s->setDataDefinedSize( dd );
}
s->setScaleMethod( QgsSymbolV2::ScaleDiameter );
}
else if ( symbol->type() == QgsSymbolV2::Line )
{

0 comments on commit 65a57ed

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