Transfer in LS3 code

This commit is contained in:
Zheng, Lei
2024-09-14 09:08:04 -04:00
committed by Yorik van Havre
parent aa81b03bee
commit 445a884682
3 changed files with 36 additions and 0 deletions

View File

@@ -1475,6 +1475,7 @@ Document::readObjects(Base::XMLReader& reader)
void Document::addRecomputeObject(DocumentObject *obj) {
if(testStatus(Status::Restoring) && obj) {
setStatus(Status::RecomputeOnRestore, true);
d->touchedObjs.insert(obj);
obj->touch();
}