Skip to content

Commit

Permalink
fix consistent mesh symbology
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec committed Oct 27, 2023
1 parent 8c8a43b commit 0121225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/mesh/qgsmeshlayer.cpp
Expand Up @@ -1436,7 +1436,7 @@ QgsMeshRendererSettings QgsMeshLayer::accordSymbologyWithGroupName( const QgsMes

if ( !activeScalarName.isEmpty() )
consistentSettings.setActiveScalarDatasetGroup( mDatasetGroupStore->indexFromGroupName( activeScalarName ) );
if ( activeVectorName.isEmpty() )
if ( !activeVectorName.isEmpty() )
consistentSettings.setActiveVectorDatasetGroup( mDatasetGroupStore->indexFromGroupName( activeVectorName ) );

return consistentSettings;
Expand Down

0 comments on commit 0121225

Please sign in to comment.