Skip to content
Permalink
Browse files

actually make canvas rotation available (followup 916a27f)

  • Loading branch information
jef-n committed Jan 1, 2015
1 parent 8cc8eae commit 2b7e49b9d1c3c918b2e4a058e6770f5f65878e24
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/qgsmapcanvas.cpp
@@ -899,7 +899,8 @@ double QgsMapCanvas::rotation() const

void QgsMapCanvas::setRotation( double degrees )
{
if ( ! getenv( "QGIS_ENABLE_CANVAS_ROTATION" ) ) return;
if ( !QSettings().value( "/qgis/canvasRotation", false ).toBool() )
return;

double current = rotation();

0 comments on commit 2b7e49b

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