Skip to content

Commit

Permalink
Make sure to automatically load the "Meshes" display type
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Dec 6, 2023
1 parent 20c37b5 commit 548ac3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions avogadro/qtplugins/surfaces/surfaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,10 @@ void Surfaces::displayMesh()
m_meshGenerator1->start();
m_meshGenerator2->start();

QStringList displayTypes;
displayTypes << tr("Meshes");
requestActiveDisplayTypes(displayTypes);

// Track how many meshes are left to show.
m_meshesLeft = 2;
}
Expand Down

0 comments on commit 548ac3c

Please sign in to comment.