[PD] revert a part of commit 1da079b34

as discussed and polled in https://forum.freecadweb.org/viewtopic.php?f=8&t=64000
This commit is contained in:
Uwe
2021-11-25 03:19:31 +01:00
parent 3465ac3add
commit 9283aa0f72

View File

@@ -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;
}