Fix compiler warning [-Wmisleading-indentation]

This commit is contained in:
wmayer
2024-10-22 11:13:28 +02:00
committed by Chris Hennes
parent 925335d5c1
commit a614b44fcd

View File

@@ -1909,14 +1909,17 @@ TopoDS_Shape TopoShape::generalFuse(const std::vector<TopoDS_Shape> &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);