diff --git a/src/Mod/PartDesign/App/FeatureExtrude.cpp b/src/Mod/PartDesign/App/FeatureExtrude.cpp index 4cbd066df0..9b3f9c6acf 100644 --- a/src/Mod/PartDesign/App/FeatureExtrude.cpp +++ b/src/Mod/PartDesign/App/FeatureExtrude.cpp @@ -305,16 +305,11 @@ void FeatureExtrude::generatePrism(TopoShape& prism, Ltotal = getThroughAllLength(); } - if (method == "TwoLengths") { - // midplane makes no sense here Ltotal += L2; if (reversed) { Loffset = -L; } - else if (midplane) { - Loffset = -0.5 * (L2 + L); - } else { Loffset = -L2; }