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

fix missing invalidation of vertex arrays after Netgen optimization pass (fixes #466)

parent c9f12157
No related branches found
No related tags found
No related merge requests found
Pipeline #2952 passed
...@@ -981,6 +981,7 @@ void OptimizeMeshNetgen(GModel *m) ...@@ -981,6 +981,7 @@ void OptimizeMeshNetgen(GModel *m)
std::for_each(m->firstRegion(), m->lastRegion(), std::for_each(m->firstRegion(), m->lastRegion(),
TEST_IF_MESH_IS_COMPATIBLE_WITH_EMBEDDED_ENTITIES()); TEST_IF_MESH_IS_COMPATIBLE_WITH_EMBEDDED_ENTITIES());
CTX::instance()->mesh.changed = ENT_ALL;
double t2 = Cpu(); double t2 = Cpu();
Msg::StatusBar(true, "Done optimizing 3D mesh with Netgen (%g s)", t2 - t1); Msg::StatusBar(true, "Done optimizing 3D mesh with Netgen (%g s)", t2 - t1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment