From aa65da42f9848b7f3287b32068dae5ac99e8d2ca Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Wed, 29 Nov 2017 10:33:29 -0400 Subject: [PATCH] apply default transform to newly created project --- src/core/qgsproject.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/qgsproject.cpp b/src/core/qgsproject.cpp index a879f3632d9..923905ba41e 100644 --- a/src/core/qgsproject.cpp +++ b/src/core/qgsproject.cpp @@ -493,6 +493,10 @@ void QgsProject::clear() mTrustLayerMetadata = false; mCustomVariables.clear(); + QgsCoordinateTransformContext context; + context.readSettings(); + setTransformContext( context ); + mEmbeddedLayers.clear(); mRelationManager->clear(); mAnnotationManager->clear();