aBB.MakeCompound(aRes);
TopTools_ListIteratorOfListOfShape aIt(aLS);
for (; aIt.More(); aIt.Next()) {
- const TopoDS_Shape& aShape = aIt.Value();
- aBB.Add(aRes, aShape);
+ const TopoDS_Shape& aCurrentShape = aIt.Value();
+ aBB.Add(aRes, aCurrentShape);
}
DBRep::Set(a[1], aRes);
}
aBB.MakeCompound(aRes);
TopTools_ListIteratorOfListOfShape aIt(aLS);
for (; aIt.More(); aIt.Next()) {
- const TopoDS_Shape& aShape = aIt.Value();
- aBB.Add(aRes, aShape);
+ const TopoDS_Shape& aCurrentShape = aIt.Value();
+ aBB.Add(aRes, aCurrentShape);
}
DBRep::Set(a[1], aRes);
}
void SWDRAW_ShapeUpgrade::InitCommands(Draw_Interpretor& theCommands)
{
static Standard_Integer initactor = 0;
- if (initactor) return; initactor = 1;
+ if (initactor)
+ {
+ return;
+ }
+ initactor = 1;
Standard_CString g = SWDRAW::GroupName(); // "Tests of DivideTool";