Automatic merge branch 'main' into 'devel'

This commit is contained in:
github-actions[bot] 2022-12-09 10:58:05 +00:00 committed by GitHub
commit ad68fbc50c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1633,7 +1633,12 @@ bool MainWindow::openProject(QString fileName, bool append)
}
meshDoc()->setBusy(false);
if(this->GLA() == 0) return false;
// here we update the visibility of all the meshes.
// yet another workaround for a problem that would be easy to solve in a well structured
// codebase.
if(this->GLA() == 0) return false;
else GLA()->updateMeshSetVisibilities();
MultiViewer_Container* mvc = currentViewContainer();
if (mvc != NULL)