From a995245ef298cc0fc9be9e250697e6ce16e611fb Mon Sep 17 00:00:00 2001 From: fps Date: Thu, 14 Nov 2013 14:11:58 +0000 Subject: [PATCH] add fields to XAO import results --- src/GEOM_I/GEOM_IInsertOperations_i.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2