From 5b0be52d354a8c61afac39b4004f49fb4bee9fea Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Wed, 3 Nov 2021 20:49:34 +0100 Subject: [PATCH] do not set ng_geometry in OCCGeometry constructor --- libsrc/occ/python_occ.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/occ/python_occ.cpp b/libsrc/occ/python_occ.cpp index 1c774d8c..2ba97fde 100644 --- a/libsrc/occ/python_occ.cpp +++ b/libsrc/occ/python_occ.cpp @@ -119,7 +119,7 @@ DLL_HEADER void ExportNgOCC(py::module &m) .def(py::init([] (const TopoDS_Shape& shape, int occdim) { auto geo = make_shared (shape, occdim); - ng_geometry = geo; + // ng_geometry = geo; // geo->BuildFMap(); // geo->CalcBoundingBox();