do not set ng_geometry in OCCGeometry constructor

This commit is contained in:
Christopher Lackner 2021-11-03 20:49:34 +01:00
parent b28d6f5c4f
commit 5b0be52d35

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();