fix Smooth Opt Volume buttons

This commit is contained in:
Christopher Lackner 2019-09-17 18:59:19 +02:00
parent 666c79ea8e
commit ec40e605a3

View File

@ -1361,6 +1361,8 @@ namespace netgen
throw Exception("Need existing global mesh");
mparam.perfstepsstart = perfstepsstart;
mparam.perfstepsend = perfstepsend;
if(optstring)
mparam.optimize3d = *optstring;
int res = ng_geometry -> GenerateMesh (mesh, mparam);
if (res != MESHING3_OK)