From a614b44fcd823fba029013bbe4a9c4a15e894021 Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 22 Oct 2024 11:13:28 +0200 Subject: [PATCH] Fix compiler warning [-Wmisleading-indentation] --- src/Mod/Part/App/TopoShape.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Mod/Part/App/TopoShape.cpp b/src/Mod/Part/App/TopoShape.cpp index 389d4d4c23..6f7c6a95ab 100644 --- a/src/Mod/Part/App/TopoShape.cpp +++ b/src/Mod/Part/App/TopoShape.cpp @@ -1909,14 +1909,17 @@ TopoDS_Shape TopoShape::generalFuse(const std::vector &sOthers, St TopTools_ListOfShape GFAArguments; GFAArguments.Append(this->_Shape); for (const TopoDS_Shape &it: sOthers) { - if (it.IsNull()) + if (it.IsNull()) { throw NullShapeException("Tool shape is null"); - GFAArguments.Append(it); + } + + GFAArguments.Append(it); } mkGFA.SetArguments(GFAArguments); if (tolerance > 0.0) { mkGFA.SetFuzzyValue(tolerance); - } else if (tolerance < 0.0) { + } + else if (tolerance < 0.0) { FCBRepAlgoAPIHelper::setAutoFuzzy(&mkGFA); } mkGFA.SetNonDestructive(Standard_True);