Salome HOME
Profile object creation.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_OCCDisplayer.cxx
index 9d3e2cf440986c5aa72e19768981dc736f377f0a..faf46892d0e4c70af36683fa1f5e0b3a5d43fd6e 100644 (file)
@@ -101,7 +101,7 @@ HYDROGUI_Shape* HYDROGUI_OCCDisplayer::createShape( const int
 
   ObjectKind anObjectKind = theObject->GetKind();
   if ( anObjectKind != KIND_IMAGE &&
-       anObjectKind != KIND_POLYLINE &&
+       anObjectKind != KIND_POLYLINEXY &&
        anObjectKind != KIND_IMMERSIBLE_ZONE &&
        anObjectKind != KIND_REGION &&
        anObjectKind != KIND_ZONE &&
@@ -194,4 +194,7 @@ void HYDROGUI_OCCDisplayer::purgeObjects( const int theViewerId )
   }
 }
 
-
+QString HYDROGUI_OCCDisplayer::GetType() const
+{
+  return OCCViewer_Viewer::Type();
+}