]> SALOME platform Git repositories - modules/hydro.git/blobdiff - src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx
Salome HOME
Creat\Edit stream operation.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_OCCDisplayer.cxx
index 602cb5cb5cd00ab7a2a967c84f0de611fde56c30..51dfa2f38e6a04d08a3132b10cae89a69c08e8d2 100644 (file)
@@ -101,11 +101,12 @@ 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 &&
-       anObjectKind != KIND_OBSTACLE  )
+       anObjectKind != KIND_OBSTACLE &&
+       anObjectKind != KIND_PROFILE )
     return aResShape;
 
   aResShape = new HYDROGUI_Shape( theContext, theObject );