- if ( aShape.ShapeType() <= TopAbs_FACE ) { // FACE, SHELL, SOLID, COMPOUND
- GEOM::short_array anIndexes;
-
- TColStd_IndexedMapOfInteger aMap;
- aSelMgr->GetIndexes( anIO, aMap );
-
- if ( !aMap.IsEmpty() ) {
- Convert( aMap, anIndexes );
- myObjects[i++] = aSelectedObject; // append the object
- myFaces.append( anIndexes ); // append faces' indexes
- numFaces += anIndexes.length();// just for text field output
- }
- }
+ if ( aShape.ShapeType() <= TopAbs_FACE ) { // FACE, SHELL, SOLID, COMPOUND
+ GEOM::short_array anIndexes;
+
+ TColStd_IndexedMapOfInteger aMap;
+ aSelMgr->GetIndexes( anIO, aMap );
+
+ if ( !aMap.IsEmpty() ) {
+ Convert( aMap, anIndexes );
+ myObjects[i++] = aSelectedObject; // append the object
+ myFaces.append( anIndexes ); // append faces' indexes
+ numFaces += anIndexes.length();// just for text field output
+ }
+ }