add fields to XAO import results

This commit is contained in:
fps 2013-11-14 14:11:58 +00:00
parent 2bcfa2c510
commit a995245ef2

View File

@ -471,8 +471,8 @@ CORBA::Boolean GEOM_IInsertOperations_i::ImportXAO(const char* fileName,
fields->length(n); fields->length(n);
for (int i = 1; i <= n; i++) for (int i = 1; i <= n; i++)
{ {
// TODO: FPS (*fields)[i - 1] = GEOM::GEOM_Field::_narrow(
//(*fields)[i - 1] = GetObject(Handle(GEOM_Field)::DownCast(importedFields->Value(i))); GetBaseObject(Handle(GEOM_Field)::DownCast(importedFields->Value(i))));
} }
shape = GetObject(hshape); shape = GetObject(hshape);