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