X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ShowHideOp.cxx;h=0fefdfae2fc3ba43046a7cf061cb8b22f856eb7b;hb=de7cf9bb0a7a41d6487013c87f4a54d0664cd303;hp=064d7785d9cc12862a6953d49286650be30720cb;hpb=0c405019de08dccfacd64f71f18211cbe912cc1d;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ShowHideOp.cxx b/src/HYDROGUI/HYDROGUI_ShowHideOp.cxx index 064d7785..0fefdfae 100644 --- a/src/HYDROGUI/HYDROGUI_ShowHideOp.cxx +++ b/src/HYDROGUI/HYDROGUI_ShowHideOp.cxx @@ -30,7 +30,7 @@ #include "HYDROGUI_UpdateFlags.h" #include -#include +#include #include @@ -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 ); }