From: dmv Date: Fri, 2 Oct 2009 08:52:00 +0000 (+0000) Subject: 0020500: EDF 1127 VISU: "Display" and "Display only" bug using python script X-Git-Tag: V5_1_main_20091008~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c7f8a798ed6cf158419b915c9b1c846c470d879d;p=modules%2Fvisu.git 0020500: EDF 1127 VISU: "Display" and "Display only" bug using python script --- 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(); } }