// compose their shells in lists associated with non-small solids' shells
// which they should be merged to
TopTools_DataMapOfShapeListOfShape aShellsToMerge, aShellsToAdd;
- TopTools_ListIteratorOfListOfShape aSolidIter (aSmallSolids);
- while (aSolidIter.More())
+ TopTools_ListIteratorOfListOfShape aSmallIter(aSmallSolids);
+ while (aSmallIter.More())
{
- const TopoDS_Shape& aSmallSolid = aSolidIter.Value();
+ const TopoDS_Shape& aSmallSolid = aSmallIter.Value();
// find a non-small solid's shell having greatest sum area of
// all faces shared with the current small solid
theContext->Remove (aSmallSolid);
SendWarning ( aSmallSolid, Message_Msg( "ShapeFix.FixSmallSolid.MSG1" ));
- aSmallSolids.Remove (aSolidIter);
+ aSmallSolids.Remove (aSmallIter);
}
else
- aSolidIter.Next();
+ aSmallIter.Next();
}
// stop if no solids can be merged