Skip to content

Commit

Permalink
Fix for projection/ellipsoid
Browse files Browse the repository at this point in the history
  • Loading branch information
homann committed Aug 23, 2012
1 parent 95a032a commit edb2a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerscalebar.cpp
Expand Up @@ -188,7 +188,7 @@ double QgsComposerScaleBar::mapDiagonal() const
else
{
QgsDistanceArea da;
da.setEllipsoidalEnabled( true );
da.setEllipsoidalEnabled( mComposerMap->mapRenderer()->hasCrsTransformEnabled() );
da.setSourceCrs( mComposerMap->mapRenderer()->destinationCrs().srsid() );
QSettings s;
da.setEllipsoid( s.value( "/qgis/measure/ellipsoid", "WGS84" ).toString() );
Expand Down

0 comments on commit edb2a7f

Please sign in to comment.