From: apo Date: Fri, 3 Feb 2006 13:23:28 +0000 (+0000) Subject: Fix for Bug GVIEW11292 X-Git-Tag: mergeto_trunk_07Feb06~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f93a9b05c7a712494fc752fc6b0c88fd64f72061;p=modules%2Fvisu.git Fix for Bug GVIEW11292 Mess of Gauss Points presentation are shown in the Viewers after loading of two files and creation of two compounds of gauss points and activation of ?Segmentation Cursor? for one presentation --- diff --git a/src/OBJECT/VISU_GaussPtsAct.cxx b/src/OBJECT/VISU_GaussPtsAct.cxx index f5da6b21..e7758b85 100644 --- a/src/OBJECT/VISU_GaussPtsAct.cxx +++ b/src/OBJECT/VISU_GaussPtsAct.cxx @@ -1395,7 +1395,7 @@ VISU_GaussPtsAct1 bool anIsSegementation = IsSegmentationEnabled(); myDeviceActor->SetVisibility(aVisisbility && !anIsSegementation); myInsideDeviceActor->SetVisibility(aVisisbility && anIsSegementation); - myOutsideDeviceActor->SetVisibility(anIsSegementation); + myOutsideDeviceActor->SetVisibility(aVisisbility && anIsSegementation); break; } default: