PD: remove empty try/catch block

This commit is contained in:
wmayer
2021-03-13 14:39:55 +01:00
parent 3131b97aa8
commit ee60ccd044

View File

@@ -350,15 +350,6 @@ App::DocumentObjectExecReturn *Transformed::execute(void)
}
current = mkBool->Shape();
}
try {} catch (Standard_Failure& e) {
// Note: Ignoring this failure is probably pointless because if the intersection check fails, the later
// fuse operation of the transformation result will also fail
std::string msg("Transformation: Intersection check failed");
if (e.GetMessageString() != NULL)
msg += std::string(": '") + e.GetMessageString() + "'";
return new App::DocumentObjectExecReturn(msg.c_str());
}
support = current; // Use result of this operation for fuse/cut of next original
}