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

cannot call gv->deleteMesh(), as it destroys the mesh cache (FIXME)

parent 80279534
No related branches found
No related tags found
No related merge requests found
...@@ -223,7 +223,8 @@ int GModel::readMSH(const std::string &name) ...@@ -223,7 +223,8 @@ int GModel::readMSH(const std::string &name)
case 0: case 0:
{ {
GVertex *gv = getVertexByTag(entity); GVertex *gv = getVertexByTag(entity);
if(gv) gv->deleteMesh(); // FIXME -- cannot call this: it destroys _vertexMapCache
//if(gv) gv->deleteMesh();
vertex = new MVertex(xyz[0], xyz[1], xyz[2], gv, num); vertex = new MVertex(xyz[0], xyz[1], xyz[2], gv, num);
} }
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment