PartDesign/Body: move deletion of subobjects to view provider

This commit is contained in:
Alexander Golubev
2015-08-27 15:21:22 +03:00
committed by Stefan Tröger
parent 57a913f796
commit 9db890015c
6 changed files with 42 additions and 22 deletions

View File

@@ -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;
}