From 12588150c1117e8bfcdeb3cb5076ac99e48e31f0 Mon Sep 17 00:00:00 2001 From: Paddle Date: Tue, 28 Mar 2023 13:30:13 +0200 Subject: [PATCH] PartDesign: Chamfer/fillet/draft/thickness small fixes. --- src/Mod/PartDesign/App/FeatureThickness.cpp | 2 +- src/Mod/PartDesign/Gui/Command.cpp | 4 ++-- src/Mod/PartDesign/Gui/TaskChamferParameters.ui | 2 +- src/Mod/PartDesign/Gui/TaskDraftParameters.ui | 2 +- src/Mod/PartDesign/Gui/TaskFilletParameters.ui | 2 +- src/Mod/PartDesign/Gui/TaskThicknessParameters.ui | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Mod/PartDesign/App/FeatureThickness.cpp b/src/Mod/PartDesign/App/FeatureThickness.cpp index 59d52e13fa..41705b62dc 100644 --- a/src/Mod/PartDesign/App/FeatureThickness.cpp +++ b/src/Mod/PartDesign/App/FeatureThickness.cpp @@ -83,7 +83,7 @@ App::DocumentObjectExecReturn *Thickness::execute() } /* If the feature was empty at some point, then Placement was set by positionByBaseFeature. - * However makeThickSolid apparantly requires the placement to be empty, so we have to clear it*/ + * However makeThickSolid apparently requires the placement to be empty, so we have to clear it*/ this->Placement.setValue(Base::Placement()); TopTools_ListOfShape closingFaces; diff --git a/src/Mod/PartDesign/Gui/Command.cpp b/src/Mod/PartDesign/Gui/Command.cpp index 9d05bf6633..8da099f8f8 100644 --- a/src/Mod/PartDesign/Gui/Command.cpp +++ b/src/Mod/PartDesign/Gui/Command.cpp @@ -1766,7 +1766,7 @@ void CmdPartDesignDraft::activated(int iMsg) size_t i = 0; while (i < SubNames.size()) { - std::string aSubName = static_cast(SubNames.at(i)); + std::string aSubName = SubNames.at(i); if (aSubName.compare(0, 4, "Face") == 0) { // Check for valid face types @@ -1833,7 +1833,7 @@ void CmdPartDesignThickness::activated(int iMsg) size_t i = 0; while (i < SubNames.size()) { - std::string aSubName = static_cast(SubNames.at(i)); + std::string aSubName = SubNames.at(i); if (aSubName.compare(0, 4, "Face") != 0) { // empty name or any other sub-element diff --git a/src/Mod/PartDesign/Gui/TaskChamferParameters.ui b/src/Mod/PartDesign/Gui/TaskChamferParameters.ui index 2d613143cd..aff84ea890 100644 --- a/src/Mod/PartDesign/Gui/TaskChamferParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskChamferParameters.ui @@ -21,7 +21,7 @@ click again to end selection - Enter selection + Select true diff --git a/src/Mod/PartDesign/Gui/TaskDraftParameters.ui b/src/Mod/PartDesign/Gui/TaskDraftParameters.ui index 4e3de180e6..e306168d67 100644 --- a/src/Mod/PartDesign/Gui/TaskDraftParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskDraftParameters.ui @@ -22,7 +22,7 @@ click again to end selection - Enter selection + Select true diff --git a/src/Mod/PartDesign/Gui/TaskFilletParameters.ui b/src/Mod/PartDesign/Gui/TaskFilletParameters.ui index 06c250615d..8b6fb663ff 100644 --- a/src/Mod/PartDesign/Gui/TaskFilletParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskFilletParameters.ui @@ -21,7 +21,7 @@ click again to end selection - Enter selection + Select true diff --git a/src/Mod/PartDesign/Gui/TaskThicknessParameters.ui b/src/Mod/PartDesign/Gui/TaskThicknessParameters.ui index 5497707f8b..197f0bc2cf 100644 --- a/src/Mod/PartDesign/Gui/TaskThicknessParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskThicknessParameters.ui @@ -21,7 +21,7 @@ click again to end selection - Start selection + Select true