Skip to content

Commit

Permalink
use data provider CRS
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Sep 24, 2018
1 parent 2c8f238 commit 5dffeaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/mesh/qgsmeshlayer.cpp
Expand Up @@ -417,6 +417,8 @@ bool QgsMeshLayer::setDataProvider( QString const &provider, const QgsDataProvid
return false;
}

setCrs( mDataProvider->crs() );

if ( provider == QStringLiteral( "mesh_memory" ) )
{
// required so that source differs between memory layers
Expand Down

0 comments on commit 5dffeaa

Please sign in to comment.