if (!bigShape.IsEqual(curBigShape))
{
curBigShape = bigShape;
+ subShapes.Clear();
TopExp::MapShapes(bigShape, subShapes);
}
index = subShapes.FindIndex(subShape);
#ifndef WNT
if ( indexesMap.IsBound( TCollection_AsciiString(entry.toLatin1().data())))
#else
- if ( indexesMap.IsBound( entry.toLatin1().data() ) )
+ if ( indexesMap.IsBound( entry.toLatin1().data() ) )
#endif
{
TColStd_IndexedMapOfInteger& subIndexes = indexesMap.ChangeFind(entry.toLatin1().data());
{
isLocal = true;
TopoDS_Shape shape = aisShape->Shape();
+ aMapOfShapes.Clear();
TopExp::MapShapes(shape, aMapOfShapes);
}
}