From ed7afb89f426b69655c35b119234028a858135f6 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 11 Feb 2015 18:19:46 +0300 Subject: [PATCH] 0022861: [CEA 1419] Export XAO does not export the sub-shapes --- src/XAOPlugin/XAOPlugin_IOperations.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) -- 2.39.2