From 922f6b83d6b23600345e0bee449678c3d46d3923 Mon Sep 17 00:00:00 2001 From: Uwe Date: Sat, 30 Jul 2022 00:20:30 +0200 Subject: [PATCH] [Part] [skip CI] SectionCutting: silence MSVC compiler warning - also fix a typo --- src/Mod/Part/Gui/SectionCutting.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Mod/Part/Gui/SectionCutting.cpp b/src/Mod/Part/Gui/SectionCutting.cpp index 4339e158ef..e4945ac206 100644 --- a/src/Mod/Part/Gui/SectionCutting.cpp +++ b/src/Mod/Part/Gui/SectionCutting.cpp @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include @@ -1136,7 +1137,7 @@ void SectionCut::onCutYvalueChanged(double val) pcCut->recomputeFeature(true); // refresh X limits // this is done by - // first making the cut X box visible, the setting the limits only for X + // first making the cut X box visible, then setting the limits only for X // if x-limit in box direction is larger than object, reset value to saved limit if (hasBoxX) { auto CutBoxX = doc->getObject(BoxXName); @@ -1229,7 +1230,7 @@ void SectionCut::onCutZvalueChanged(double val) pcCut->recomputeFeature(true); // refresh X and Y limits // this is done e.g. for X by - // first making the cut X box visible, the setting the limits only for X + // first making the cut X box visible, then setting the limits only for X // if x-limit in box direction is larger than object, reset value to saved limit SbBox3f CutBoundingBox; if (hasBoxX) {