From: vsr Date: Wed, 11 Feb 2015 15:19:46 +0000 (+0300) Subject: 0022861: [CEA 1419] Export XAO does not export the sub-shapes X-Git-Tag: V7_6_0a1~48 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ed7afb89f426b69655c35b119234028a858135f6;p=modules%2Fgeom.git 0022861: [CEA 1419] Export XAO does not export the sub-shapes --- diff --git a/src/XAOPlugin/XAOPlugin_IOperations.cxx b/src/XAOPlugin/XAOPlugin_IOperations.cxx index 96949ced7..d491cad2b 100644 --- a/src/XAOPlugin/XAOPlugin_IOperations.cxx +++ b/src/XAOPlugin/XAOPlugin_IOperations.cxx @@ -258,7 +258,7 @@ void XAOPlugin_IOperations::exportFields( std::list 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++)