if( objComponent->ComponentDataType()!="SMESH" )
return -1;
+ if( objComponent->GetIOR()==obj->GetIOR() )
+ return COMPONENT;
+
int aLevel = obj->Depth() - objComponent->Depth(),
aFTag = objFather->Tag(),
anOTag = obj->Tag(),
return "Mesh compound";
case GROUP:
return "Group";
+ case COMPONENT:
+ return "Component";
default:
return "Unknown";
}