]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To fix problem with disappeared "scalar distribution" BR_VISU_2008
authorapo <apo@opencascade.com>
Thu, 9 Oct 2008 08:24:25 +0000 (08:24 +0000)
committerapo <apo@opencascade.com>
Thu, 9 Oct 2008 08:24:25 +0000 (08:24 +0000)
src/VISU_I/VISU_ScalarMap_i.cc

index dc1640be35e50e0d2ee976c1985e0471d6b838b6..d49acc7c1b5dc4fdd220fa1b9a108a63dc7bf0e6 100644 (file)
@@ -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());