From 9283aa0f72213d68bc89bf152a6dbca3a2fb9e3f Mon Sep 17 00:00:00 2001 From: Uwe Date: Thu, 25 Nov 2021 03:19:31 +0100 Subject: [PATCH] [PD] revert a part of commit 1da079b34 as discussed and polled in https://forum.freecadweb.org/viewtopic.php?f=8&t=64000 --- src/Mod/PartDesign/App/FeatureExtrude.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/Mod/PartDesign/App/FeatureExtrude.cpp b/src/Mod/PartDesign/App/FeatureExtrude.cpp index 5561aeffc2..54a3599328 100644 --- a/src/Mod/PartDesign/App/FeatureExtrude.cpp +++ b/src/Mod/PartDesign/App/FeatureExtrude.cpp @@ -126,16 +126,6 @@ Base::Vector3d FeatureExtrude::computeDirection(const Base::Vector3d& sketchVect // explicitly set the Direction so that the dialog shows also the used direction // if the sketch's normal vector was used - // for a custom vector we cannot negate it since the Ui takes always the currently - // shown vector values as final direction, - // and when Reversed, it will be negated additionally - if (!UseCustomVector.getValue()) { - if (Reversed.getValue()) - Direction.setValue(-extrudeDirection); - else - Direction.setValue(extrudeDirection); - } - // don't return the direction including reversed since this is handled in - // FeatureSketchBased.cpp afterwards + Direction.setValue(extrudeDirection); return extrudeDirection; }