PartDesign: Ignore errors due to object misconfiguration in previews

This adds ignoring catch to the updatePreview method of
ViewProviderTransformed so it does not report issues that happen because
recompute takes place on object that is not yet fully configured.
This commit is contained in:
Kacper Donat
2025-10-13 20:50:24 +02:00
committed by Chris Hennes
parent 3f918a5d35
commit 96b76b4e41

View File

@@ -129,6 +129,8 @@ void ViewProviderTransformed::updatePreview()
pcPreviewRoot->addChild(sep);
}
}
} catch (const Base::ValueError&) {
// no-op - ignore misconfigured objects
} catch (const Base::Exception& e) {
e.reportException();
}