diff --git a/src/Gui/ViewProviderOrigin.cpp b/src/Gui/ViewProviderOrigin.cpp index 970927ffd2..7bce98c617 100644 --- a/src/Gui/ViewProviderOrigin.cpp +++ b/src/Gui/ViewProviderOrigin.cpp @@ -194,7 +194,11 @@ void ViewProviderOrigin::onChanged(const App::Property* prop) { if (vpLineZ) { vpLineZ->Size.setValue ( szZ ); } } catch (const Base::Exception &ex) { - Base::Console().Error ("%s\n", ex.what() ); + // While restoring a document don't report errors if one of the lines or planes + // cannot be found. + App::Document* doc = getObject()->getDocument(); + if (!doc->testStatus(App::Document::Restoring)) + Base::Console().Error ("%s\n", ex.what() ); } }