Gui: Do not compute preview while restoring
This commit is contained in:
committed by
Benjamin Nauck
parent
44f58d7b72
commit
94e978439c
@@ -101,6 +101,10 @@ void ViewProviderTransformed::attachPreview()
|
||||
|
||||
void ViewProviderTransformed::updatePreview()
|
||||
{
|
||||
if (pcObject->getDocument()->testStatus(App::Document::Restoring)) {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
if (auto feature = getObject<PartDesign::Transformed>()) {
|
||||
auto originals = feature->getOriginals();
|
||||
|
||||
Reference in New Issue
Block a user