ObjectKind anObjectKind = theObject->GetKind();
if ( anObjectKind != KIND_IMAGE &&
- anObjectKind != KIND_POLYLINE &&
+ anObjectKind != KIND_POLYLINEXY &&
anObjectKind != KIND_IMMERSIBLE_ZONE &&
anObjectKind != KIND_REGION &&
anObjectKind != KIND_ZONE &&
- anObjectKind != KIND_OBSTACLE )
+ anObjectKind != KIND_OBSTACLE &&
+ anObjectKind != KIND_PROFILE )
return aResShape;
aResShape = new HYDROGUI_Shape( theContext, theObject );