mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 10:10:34 +05:00
0022861: [CEA 1419] Export XAO does not export the sub-shapes
This commit is contained in:
parent
4bad0df238
commit
ed7afb89f4
@ -258,7 +258,7 @@ void XAOPlugin_IOperations::exportFields( std::list<Handle(GEOM_Field)> fieldLis
|
|||||||
|
|
||||||
void XAOPlugin_IOperations::exportSubshapes( const Handle(GEOM_Object)& shape, XAO::BrepGeometry* geometry )
|
void XAOPlugin_IOperations::exportSubshapes( const Handle(GEOM_Object)& shape, XAO::BrepGeometry* geometry )
|
||||||
{
|
{
|
||||||
Handle(TColStd_HSequenceOfTransient) subObjects = myShapesOperations->GetExistingSubObjects( shape, false );
|
Handle(TColStd_HSequenceOfTransient) subObjects = myShapesOperations->GetExistingSubObjects( shape, GEOMImpl_IShapesOperations::SubShapes );
|
||||||
int nbSubObjects = subObjects->Length();
|
int nbSubObjects = subObjects->Length();
|
||||||
// set the names of the sub shapes
|
// set the names of the sub shapes
|
||||||
for (int i = 1; i <= nbSubObjects; i++)
|
for (int i = 1; i <= nbSubObjects; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user