diff --git a/src/meshlab/mainwindow_RunTime.cpp b/src/meshlab/mainwindow_RunTime.cpp index 40c27814d..3c460bd5f 100644 --- a/src/meshlab/mainwindow_RunTime.cpp +++ b/src/meshlab/mainwindow_RunTime.cpp @@ -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)