Add signals for recomputed objects

This commit is contained in:
Stefan Tröger
2017-03-08 17:20:44 +01:00
committed by wmayer
parent afe2305762
commit e571a6e07a
8 changed files with 88 additions and 0 deletions

View File

@@ -2178,6 +2178,7 @@ int Document::recompute()
d->vertexMap.clear();
return -1;
}
signalRecomputedObject(*Cur);
++objectCount;
}
}
@@ -2244,6 +2245,7 @@ int Document::recompute()
if ((*objIt)->isTouched() || doRecompute) {
(*objIt)->purgeTouched();
signalObjectRecomputed(*(*objOt));
// force recompute of all dependent objects
for (auto inObjIt : (*objIt)->getInList())
inObjIt->enforceRecompute();