fixes #0002722: Attached cube doesn't follow support

This commit is contained in:
wmayer
2017-09-25 22:36:02 +02:00
parent 47cd41f25c
commit 3ec30796a6
3 changed files with 3 additions and 11 deletions

View File

@@ -75,12 +75,11 @@ App::DocumentObjectExecReturn *Box::execute(void)
BRepPrimAPI_MakeBox mkBox(L, W, H);
TopoDS_Shape ResultShape = mkBox.Shape();
this->Shape.setValue(ResultShape);
return Primitive::execute();
}
catch (Standard_Failure& e) {
return new App::DocumentObjectExecReturn(e.GetMessageString());
}
return App::DocumentObject::StdReturn;
}
/**