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

index 602a49cb7b0b3aff2504d79d0aa6eb388084cc22..4cf4c320818c0ab6c19ed3be55a855685258aecf 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());