Salome HOME
0022861: [CEA 1419] Export XAO does not export the sub-shapes
authorvsr <vsr@opencascade.com>
Wed, 11 Feb 2015 15:19:46 +0000 (18:19 +0300)
committervsr <vsr@opencascade.com>
Wed, 11 Feb 2015 15:19:46 +0000 (18:19 +0300)
src/XAOPlugin/XAOPlugin_IOperations.cxx

index 96949ced7b2a0912b0f2f5ae0bec5178f0eb5b31..d491cad2b49d02911a741359797061cc3ac0f928 100644 (file)
@@ -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 )
 {
-  Handle(TColStd_HSequenceOfTransient) subObjects = myShapesOperations->GetExistingSubObjects( shape, false );
+  Handle(TColStd_HSequenceOfTransient) subObjects = myShapesOperations->GetExistingSubObjects( shape, GEOMImpl_IShapesOperations::SubShapes );
   int nbSubObjects = subObjects->Length();
   // set the names of the sub shapes
   for (int i = 1; i <= nbSubObjects; i++)