From 8238db5236b288068e4c2d62c4fd998bdcf1c7fe Mon Sep 17 00:00:00 2001 From: dmv Date: Fri, 2 Oct 2009 08:52:49 +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 73a74c2e..d7ba2e71 100644 --- a/src/VISU_I/VISU_ViewManager_i.cc +++ b/src/VISU_I/VISU_ViewManager_i.cc @@ -302,9 +302,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