From: fps Date: Thu, 14 Nov 2013 14:11:58 +0000 (+0000) Subject: add fields to XAO import results X-Git-Tag: BR_hydro_v_0_3_1~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a995245ef298cc0fc9be9e250697e6ce16e611fb;p=modules%2Fgeom.git add fields to XAO import results --- diff --git a/src/GEOM_I/GEOM_IInsertOperations_i.cc b/src/GEOM_I/GEOM_IInsertOperations_i.cc index 217655cf6..f54c27b58 100644 --- a/src/GEOM_I/GEOM_IInsertOperations_i.cc +++ b/src/GEOM_I/GEOM_IInsertOperations_i.cc @@ -471,8 +471,8 @@ CORBA::Boolean GEOM_IInsertOperations_i::ImportXAO(const char* fileName, fields->length(n); for (int i = 1; i <= n; i++) { - // TODO: FPS - //(*fields)[i - 1] = GetObject(Handle(GEOM_Field)::DownCast(importedFields->Value(i))); + (*fields)[i - 1] = GEOM::GEOM_Field::_narrow( + GetBaseObject(Handle(GEOM_Field)::DownCast(importedFields->Value(i)))); } shape = GetObject(hshape);