Skip to content

Commit

Permalink
apply default transform to newly created project
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and nyalldawson committed Dec 15, 2017
1 parent 92a46f0 commit aa65da4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/qgsproject.cpp
Expand Up @@ -493,6 +493,10 @@ void QgsProject::clear()
mTrustLayerMetadata = false;
mCustomVariables.clear();

QgsCoordinateTransformContext context;
context.readSettings();
setTransformContext( context );

mEmbeddedLayers.clear();
mRelationManager->clear();
mAnnotationManager->clear();
Expand Down

0 comments on commit aa65da4

Please sign in to comment.