diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp index 9697d63b1173953638b88e99bb93f11a7b3bde52..a1749a0b1b148c2f369e1e5c9078454f6a1535c8 100644 --- a/Geo/GModel.cpp +++ b/Geo/GModel.cpp @@ -134,6 +134,9 @@ GModel::GModel(std::string name) _factory(0), _fields(0), _currentMeshEntity(0), normals(0) { partitionSize[0] = 0; partitionSize[1] = 0; + + for(unsigned int i = 0; i < list.size(); i++) list[i]->setVisibility(0); + list.push_back(this); // at the moment we always create (at least an empty) GEO model _createGEOInternals();