mirror of
https://github.com/NGSolve/netgen.git
synced 2026-06-16 00:20:34 +08:00
Pass copy flag to OCCGeometry ctor in python
This commit is contained in:
@@ -104,7 +104,7 @@ DLL_HEADER void ExportNgOCC(py::module &m)
|
||||
*/
|
||||
.def(py::init([] (const TopoDS_Shape& shape, int occdim, bool copy)
|
||||
{
|
||||
auto geo = make_shared<OCCGeometry> (shape, occdim);
|
||||
auto geo = make_shared<OCCGeometry> (shape, occdim, copy);
|
||||
// ng_geometry = geo;
|
||||
|
||||
// geo->BuildFMap();
|
||||
|
||||
Reference in New Issue
Block a user