From: apo Date: Thu, 9 Oct 2008 08:27:48 +0000 (+0000) Subject: To fix problem with disappeared "scalar distribution" X-Git-Tag: V5_1_0a3~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e2ea11f1eaad2576d2e84fd0edbfdb39e38bd05f;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 602a49cb..4cf4c320 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());