- aResultBody->loadAndOrientModifiedShapes(&aBuilder, *anIt, aShType, 1,
- aShType == GeomAPI_Shape::VERTEX ? "Modified_Vertex" : "Modified_Edge",
- *aBuilder.mapOfSubShapes().get());
+ aResultBody->loadAndOrientModifiedShapes(&aBuilder, *anIt, aShType,
+ aShType == GeomAPI_Shape::VERTEX ? aModVertexTag : aModEdgeTag,
+ aShType == GeomAPI_Shape::VERTEX ? "Modified_Vertex" : "Modified_Edge",
+ *aBuilder.mapOfSubShapes().get());