Salome HOME
Fix for the bug #42: point C is not activated, but point C is shown in preview in...
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ShowHideOp.cxx
index 064d7785d9cc12862a6953d49286650be30720cb..0fefdfae2fc3ba43046a7cf061cb8b22f856eb7b 100644 (file)
@@ -30,7 +30,7 @@
 #include "HYDROGUI_UpdateFlags.h"
 
 #include <HYDROData_Iterator.h>
-#include <HYDROData_Object.h>
+#include <HYDROData_Entity.h>
 
 #include <LightApp_Application.h>
 
@@ -72,7 +72,7 @@ void HYDROGUI_ShowHideOp::startOperation()
     HYDROData_Iterator anIterator( doc() );
     for( ; anIterator.More(); anIterator.Next() )
     {
-      Handle(HYDROData_Object) anObject = anIterator.Current();
+      Handle(HYDROData_Entity) anObject = anIterator.Current();
       if( !anObject.IsNull() )
         module()->setObjectVisible( aViewId, anObject, aVisibility );
     }
@@ -86,7 +86,7 @@ void HYDROGUI_ShowHideOp::startOperation()
     bool aVisibility = myId == ShowId || myId == ShowOnlyId;
     for( Standard_Integer anIndex = 1, aLength = aSeq.Length(); anIndex <= aLength; anIndex++ )
     {
-      Handle(HYDROData_Object) anObject = aSeq.Value( anIndex );
+      Handle(HYDROData_Entity) anObject = aSeq.Value( anIndex );
       if( !anObject.IsNull() )
         module()->setObjectVisible( aViewId, anObject, aVisibility );
     }