diff --git a/src/meshlab/mainwindow_RunTime.cpp b/src/meshlab/mainwindow_RunTime.cpp index f800af3cd..9f7ec0710 100644 --- a/src/meshlab/mainwindow_RunTime.cpp +++ b/src/meshlab/mainwindow_RunTime.cpp @@ -1724,7 +1724,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)