From c7f8a798ed6cf158419b915c9b1c846c470d879d Mon Sep 17 00:00:00 2001 From: dmv Date: Fri, 2 Oct 2009 08:52:00 +0000 Subject: [PATCH] 0020500: EDF 1127 VISU: "Display" and "Display only" bug using python script --- src/VISU_I/VISU_ViewManager_i.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VISU_I/VISU_ViewManager_i.cc b/src/VISU_I/VISU_ViewManager_i.cc index a5790828..0bc32345 100644 --- a/src/VISU_I/VISU_ViewManager_i.cc +++ b/src/VISU_I/VISU_ViewManager_i.cc @@ -303,9 +303,9 @@ namespace VISU { else aResActor->VisibilityOff(); } else { - if(theDisplaing > eDisplay) + if(theDisplaing == eEraseAll || theDisplaing == eDisplayOnly) anVISUActor->VisibilityOff(); - else if ( theDisplaing < eDisplay ) + else if ( theDisplaing == eDisplayAll ) anVISUActor->VisibilityOn(); } } -- 2.39.2