Skip to content
Snippets Groups Projects
Commit eeab1978 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

revert my visibility patch

parent 0667b3e6
No related branches found
No related tags found
No related merge requests found
...@@ -135,8 +135,6 @@ GModel::GModel(std::string name) ...@@ -135,8 +135,6 @@ GModel::GModel(std::string name)
{ {
partitionSize[0] = 0; partitionSize[1] = 0; partitionSize[0] = 0; partitionSize[1] = 0;
for(unsigned int i = 0; i < list.size(); i++) list[i]->setVisibility(0);
list.push_back(this); list.push_back(this);
// at the moment we always create (at least an empty) GEO model // at the moment we always create (at least an empty) GEO model
_createGEOInternals(); _createGEOInternals();
......
...@@ -101,6 +101,7 @@ PView *GMSH_FieldFromAmplitudePhasePlugin::execute(PView *v) ...@@ -101,6 +101,7 @@ PView *GMSH_FieldFromAmplitudePhasePlugin::execute(PView *v)
oA = new OctreePost(va); oA = new OctreePost(va);
oPhi = new OctreePost(vphi); oPhi = new OctreePost(vphi);
GModel::current()->setVisibility(0);
GModel *umodel = new GModel ; GModel *umodel = new GModel ;
umodel->readMSH(fileName) ; umodel->readMSH(fileName) ;
std::vector<GEntity*> _entities ; std::vector<GEntity*> _entities ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment