Move code for recompute dialog and disable warning
This commit is contained in:
@@ -389,11 +389,12 @@ void PropertyPartShape::Restore(Base::XMLReader &reader)
|
||||
}
|
||||
}
|
||||
} else if(owner && !owner->getDocument()->testStatus(App::Document::PartialDoc)) {
|
||||
// Toponaming 09/2024: Original code has a whole infrastructure of document parameters we aren't bring in:
|
||||
// if(App::DocumentParams::getWarnRecomputeOnRestore()) {
|
||||
if( true ) {
|
||||
FC_WARN("Pending recompute for generating element map: " << owner->getFullName());
|
||||
owner->getDocument()->addRecomputeObject(owner);
|
||||
}
|
||||
// However, this warning appears on all files without element maps, and is now superceded by a user dialog
|
||||
// after loading that is triggered by any addRecomputeObject()
|
||||
// FC_WARN("Pending recompute for generating element map: " << owner->getFullName());
|
||||
owner->getDocument()->addRecomputeObject(owner);
|
||||
}
|
||||
|
||||
if (!shape.isNull() || !_Shape.isNull()) {
|
||||
|
||||
Reference in New Issue
Block a user