From: apo Date: Thu, 9 Oct 2008 08:24:25 +0000 (+0000) Subject: To fix problem with disappeared "scalar distribution" X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4ca4ffe57b99838bba6344a140e14de7e31a2106;p=modules%2Fvisu.git To fix problem with disappeared "scalar distribution" --- diff --git a/src/VISU_I/VISU_ScalarMap_i.cc b/src/VISU_I/VISU_ScalarMap_i.cc index dc1640be..d49acc7c 100644 --- a/src/VISU_I/VISU_ScalarMap_i.cc +++ b/src/VISU_I/VISU_ScalarMap_i.cc @@ -436,8 +436,8 @@ VISU::ScalarMap_i VISU_ScalarBarActor *aScalarBar = anActor->GetScalarBar(); aScalarBar->SetLookupTable( aLookupTable ); - //aScalarBar->SetDistribution( GetSpecificPL()->GetDistribution() ); - //aScalarBar->SetDistributionVisibility( GetIsDistributionVisible() ); + aScalarBar->SetDistribution( GetSpecificPL()->GetDistribution() ); + aScalarBar->SetDistributionVisibility( GetIsDistributionVisible() ); aScalarBar->SetTitle(GetScalarBarTitle().c_str()); aScalarBar->SetOrientation(GetBarOrientation());