generate volume mesh on GenerateMesh button if no geometry but mesh exists

This commit is contained in:
Christopher Lackner 2019-09-20 12:37:40 +02:00
parent 5cfb449d7a
commit 6b8867d76a

View File

@ -1373,6 +1373,12 @@ namespace netgen
return 0; return 0;
} }
} }
else if (mesh)
{
MeshVolume(mparam, *mesh);
OptimizeVolume(mparam, *mesh);
return 0;
}
else // no ng_geometry else // no ng_geometry
{ {
multithread.task = savetask; multithread.task = savetask;