mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
Update python_occ.cpp
This commit is contained in:
parent
4e860f4ca2
commit
d36a6746b7
@ -274,7 +274,7 @@ DLL_HEADER void ExportNgOCC(py::module &m)
|
|||||||
auto result = geo->GenerateMesh(mesh, mp);
|
auto result = geo->GenerateMesh(mesh, mp);
|
||||||
if(result != 0)
|
if(result != 0)
|
||||||
{
|
{
|
||||||
netgen::mesh = mesh;
|
netgen::mesh = mesh; // keep mesh for debugging
|
||||||
throw Exception("Meshing failed!");
|
throw Exception("Meshing failed!");
|
||||||
}
|
}
|
||||||
ng_geometry = geo;
|
ng_geometry = geo;
|
||||||
|
Loading…
Reference in New Issue
Block a user