mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-25 06:00:33 +05:00
add fields to XAO import results
This commit is contained in:
parent
2bcfa2c510
commit
a995245ef2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user