From 195c492993429bfd877c814a27bd4af94edb0c21 Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Fri, 2 Nov 2018 17:35:48 +0300 Subject: [PATCH] Part: Attacher: fix blocking error message fix #3662 for now, just allow accepting attachment even if attachment is faulty --- src/Mod/Part/Gui/TaskAttacher.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Mod/Part/Gui/TaskAttacher.cpp b/src/Mod/Part/Gui/TaskAttacher.cpp index 1bab787d0d..806f1349cb 100644 --- a/src/Mod/Part/Gui/TaskAttacher.cpp +++ b/src/Mod/Part/Gui/TaskAttacher.cpp @@ -1050,9 +1050,6 @@ bool TaskDlgAttacher::accept() Gui::Command::doCommand(Gui::Command::Doc,"%s.recompute()", appDocument.c_str()); - if (!ViewProvider->getObject()->isValid()) - throw Base::RuntimeError(ViewProvider->getObject()->getStatusString()); - Gui::Command::doCommand(Gui::Command::Gui, "%s.resetEdit()", guiDocument.c_str()); document->commitCommand(); }