All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
eafd18dac0
commit
25c3ba7338
@@ -21,7 +21,6 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
|
||||
#include <QAction>
|
||||
#include <QListWidget>
|
||||
#include <QMessageBox>
|
||||
@@ -139,7 +138,8 @@ void TaskThicknessParameters::onSelectionChanged(const Gui::SelectionChanges& ms
|
||||
if (selectionMode == refSel) {
|
||||
referenceSelected(msg, ui->listWidgetReferences);
|
||||
}
|
||||
} else if (msg.Type == Gui::SelectionChanges::ClrSelection) {
|
||||
}
|
||||
else if (msg.Type == Gui::SelectionChanges::ClrSelection) {
|
||||
// TODO: the gizmo position should be only recalculated when the feature associated
|
||||
// with the gizmo is removed from the list
|
||||
setGizmoPositions();
|
||||
@@ -304,7 +304,7 @@ void TaskThicknessParameters::setGizmoPositions()
|
||||
|
||||
Part::TopoShape edge = shapes[0];
|
||||
DraggerPlacementProps props = getDraggerPlacementFromEdgeAndFace(edge, faces[0]);
|
||||
props.dir *= thickness->Reversed.getValue()? 1 : -1;
|
||||
props.dir *= thickness->Reversed.getValue() ? 1 : -1;
|
||||
|
||||
linearGizmo->Gizmo::setDraggerPlacement(props.position, props.dir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user