From e1deed5aad2dd6b7329dc718cc99228a996806d0 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 9 Feb 2012 10:19:39 +0000 Subject: [PATCH] pp --- Geo/GModel.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp index d1d93fdce4..68b06968aa 100644 --- a/Geo/GModel.cpp +++ b/Geo/GModel.cpp @@ -66,9 +66,10 @@ GModel::GModel(std::string name) partitionSize[0] = 0; partitionSize[1] = 0; // hide all other models - for(unsigned int i = 0; i < GModel::list.size(); i++) - GModel::list[i]->setVisibility(0); + for(unsigned int i = 0; i < list.size(); i++) + list[i]->setVisibility(0); + // push new one into the list list.push_back(this); // at the moment we always create (at least an empty) GEO model -- GitLab