diff --git a/src/Mod/PartDesign/App/FeatureRevolution.cpp b/src/Mod/PartDesign/App/FeatureRevolution.cpp index b2a5ef6bf7..82702799e4 100644 --- a/src/Mod/PartDesign/App/FeatureRevolution.cpp +++ b/src/Mod/PartDesign/App/FeatureRevolution.cpp @@ -184,8 +184,7 @@ App::DocumentObjectExecReturn* Revolution::execute() if (!Ex.More()) { supportface = TopoDS_Face(); } - RevolMode mode = RevolMode::None; - // revolve the face to a solid + try { result = base.makeElementRevolution(base, TopoDS::Face(sketchshape.getShape()),