[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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user