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 );
}
}
-
+QString HYDROGUI_OCCDisplayer::GetType() const
+{
+ return OCCViewer_Viewer::Type();
+}