1
0
mirror of https://github.com/NGSolve/netgen.git synced 2025-04-15 11:01:22 +05:00

Merge branch 'not_set_ng_geometry_in_ctor' into 'master'

do not set ng_geometry in OCCGeometry constructor

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

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