Part: Modify python copy to use c++ copy() instead of clone()
This commit is contained in:
@@ -208,7 +208,7 @@ PyObject* GeometryPy::copy(PyObject *args)
|
||||
Part::Geometry* clone = static_cast<Part::Geometry*>(geompy->_pcTwinPointer);
|
||||
delete clone;
|
||||
}
|
||||
geompy->_pcTwinPointer = geom->clone();
|
||||
geompy->_pcTwinPointer = geom->copy();
|
||||
return cpy;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user