Skip to content

Commit

Permalink
multi mesh from browser (#37145)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec committed Jun 12, 2020
1 parent e4987fd commit b23eadd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -2048,8 +2048,7 @@ void QgisApp::handleDropUriList( const QgsMimeDataUtils::UriList &lst )
}
else if ( u.layerType == QLatin1String( "mesh" ) )
{
QgsMeshLayer *layer = new QgsMeshLayer( uri, u.name, u.providerKey );
addMapLayer( layer );
addMeshLayer( uri, u.name, u.providerKey );
}
else if ( u.layerType == QLatin1String( "vector-tile" ) )
{
Expand Down

0 comments on commit b23eadd

Please sign in to comment.