Core: restoreContent not restoring expressions (#21152)
This commit is contained in:
@@ -10368,7 +10368,7 @@ bool SketchObject::getBlockedState(const Constraint* cstr, bool& blockedstate) c
|
||||
void SketchObject::onDocumentRestored()
|
||||
{
|
||||
try {
|
||||
restoreFinished();
|
||||
onSketchRestore();
|
||||
Part::Part2DObject::onDocumentRestored();
|
||||
}
|
||||
catch (...) {
|
||||
@@ -10376,6 +10376,12 @@ void SketchObject::onDocumentRestored()
|
||||
}
|
||||
|
||||
void SketchObject::restoreFinished()
|
||||
{
|
||||
App::DocumentObject::restoreFinished();
|
||||
onSketchRestore();
|
||||
}
|
||||
|
||||
void SketchObject::onSketchRestore()
|
||||
{
|
||||
try {
|
||||
migrateSketch();
|
||||
|
||||
Reference in New Issue
Block a user