Merge branch 'not_set_ng_geometry_in_ctor' into 'master'

do not set ng_geometry in OCCGeometry constructor

See merge request jschoeberl/netgen!444
This commit is contained in:
Joachim Schöberl 2021-11-04 07:12:43 +00:00
commit cb0f4fe75e

View File

@ -119,7 +119,7 @@ DLL_HEADER void ExportNgOCC(py::module &m)
.def(py::init([] (const TopoDS_Shape& shape, int occdim) .def(py::init([] (const TopoDS_Shape& shape, int occdim)
{ {
auto geo = make_shared<OCCGeometry> (shape, occdim); auto geo = make_shared<OCCGeometry> (shape, occdim);
ng_geometry = geo; // ng_geometry = geo;
// geo->BuildFMap(); // geo->BuildFMap();
// geo->CalcBoundingBox(); // geo->CalcBoundingBox();