Thanks for this, but there's another place to tweak: 
```
src/gui/qgsmapcanvas.cpp:902:  if ( ! getenv( "QGIS_ENABLE_CANVAS_ROTATION" ) ) return;
```

That's to avoid loading a project with a canvas rotation value and getting stuck with that rotation 
(not sure it makes sense).