Bug IPAL22920: TC6.5.0: The scalar bar doesn't displayed

This commit is contained in:
ouv 2012-04-26 14:02:13 +00:00
parent 338099925d
commit 795de88a52

View File

@ -1244,8 +1244,6 @@ void SMESH_ActorDef::SetVisibility(int theMode, bool theIsUpdateRepersentation){
case eFreeEdges: case eFreeEdges:
case eFreeBorders: case eFreeBorders:
case eCoincidentElems1D: case eCoincidentElems1D:
case eLength2D:
case eMultiConnection2D:
my1DExtActor->VisibilityOn(); my1DExtActor->VisibilityOn();
break; break;
case eFreeFaces: case eFreeFaces:
@ -1259,6 +1257,9 @@ void SMESH_ActorDef::SetVisibility(int theMode, bool theIsUpdateRepersentation){
case eCoincidentElems3D: case eCoincidentElems3D:
my3DExtActor->VisibilityOn(); my3DExtActor->VisibilityOn();
break; break;
case eLength2D:
case eMultiConnection2D:
my1DExtActor->VisibilityOn();
default: default:
if(myControlActor->GetUnstructuredGrid()->GetNumberOfCells()) if(myControlActor->GetUnstructuredGrid()->GetNumberOfCells())
myScalarBarActor->VisibilityOn(); myScalarBarActor->VisibilityOn();