change old DAG implementation to pass unit tests

This commit is contained in:
wmayer
2017-01-22 15:32:31 +01:00
parent 0afb7b6a32
commit db0fe5b200
2 changed files with 9 additions and 9 deletions

View File

@@ -508,7 +508,6 @@ Py::List DocumentPy::getToplogicalSortedObjects(void) const
Py::List DocumentPy::getRootObjects(void) const
{
#ifndef USE_OLD_DAG
std::vector<DocumentObject*> objs = getDocumentPtr()->getRootObjects();
Py::List res;
@@ -517,9 +516,6 @@ Py::List DocumentPy::getRootObjects(void) const
res.append(Py::Object((*It)->getPyObject(), true));
return res;
#else
return Py::List();
#endif
}
Py::Int DocumentPy::getUndoMode(void) const