Skip to content

Commit

Permalink
+ extend State attribute of document object
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Dec 17, 2014
1 parent c1823ef commit d872207
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/App/DocumentObjectPyImp.cpp
Expand Up @@ -88,6 +88,14 @@ Py::List DocumentObjectPy::getState(void) const
uptodate = false;
list.append(Py::String("Invalid"));
}
if (object->isRecomputing()) {
uptodate = false;
list.append(Py::String("Recompute"));
}
if (object->isRestoring()) {
uptodate = false;
list.append(Py::String("Restore"));
}
if (uptodate) {
list.append(Py::String("Up-to-date"));
}
Expand Down

0 comments on commit d872207

Please sign in to comment.