Fix deleting a Part

This commit is contained in:
Stefan Tröger
2017-08-06 08:59:21 +02:00
committed by wmayer
parent 5da7aed8e1
commit 7829849104
3 changed files with 10 additions and 3 deletions

View File

@@ -2173,6 +2173,10 @@ int Document::recompute()
delete LogEntry;
_RecomputeLog.clear();
//do we have anything to do?
if(d->objectMap.empty())
return 0;
// get the sorted vector of all objects in the document and go though it from the end
vector<DocumentObject*> topoSortedObjects = topologicalSort();