fixes 0003410: 0.17 Regression: recompute will make parts lose color and take a longer delay compared to FC0.16
This commit is contained in:
@@ -146,6 +146,14 @@ PyObject* DocumentObjectPy::purgeTouched(PyObject * args)
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* DocumentObjectPy::enforceRecompute(PyObject * args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) // convert args: Python->C
|
||||
return NULL; // NULL triggers exception
|
||||
getDocumentObjectPtr()->enforceRecompute();
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
Py::List DocumentObjectPy::getState(void) const
|
||||
{
|
||||
DocumentObject* object = this->getDocumentObjectPtr();
|
||||
|
||||
Reference in New Issue
Block a user