PartDesign/Body: move deletion of subobjects to view provider
This commit is contained in:
committed by
Stefan Tröger
parent
57a913f796
commit
9db890015c
@@ -113,4 +113,12 @@ PyObject* BodyPy::removeFeature(PyObject *args)
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* BodyPy::removeModelFromDocument(PyObject *args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, ""))
|
||||
return 0;
|
||||
|
||||
getBodyPtr()->removeModelFromDocument();
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user