{
HYDROGUI_Operation::startOperation();
+ size_t aViewId = HYDROGUI_Tool::GetActiveGraphicsViewId( module() );
+
// for all objects
if( myId == ShowOnlyId || myId == ShowAllId || myId == HideAllId )
{
{
Handle(HYDROData_Object) anObject = anIterator.Current();
if( !anObject.IsNull() )
- anObject->SetVisibility( aVisibility );
+ anObject->SetVisible( aViewId, aVisibility );
}
}
{
Handle(HYDROData_Object) anObject = aSeq.Value( anIndex );
if( !anObject.IsNull() )
- anObject->SetVisibility( aVisibility ? true : false );
+ anObject->SetVisible( aViewId, aVisibility );
}
}