Update python_occ.cpp

This commit is contained in:
Schöberl, Joachim 2022-08-04 14:16:16 +02:00
parent 4e860f4ca2
commit d36a6746b7

View File

@ -274,7 +274,7 @@ DLL_HEADER void ExportNgOCC(py::module &m)
auto result = geo->GenerateMesh(mesh, mp);
if(result != 0)
{
netgen::mesh = mesh;
netgen::mesh = mesh; // keep mesh for debugging
throw Exception("Meshing failed!");
}
ng_geometry = geo;