From 48d5ec677f0df3ad0bd8dfc1c1c092b9efaf952d Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 31 Jan 2005 13:46:34 +0000 Subject: [PATCH] Fix on Bug PAL7927 REGRESSION: It is an incorrect import of the MED file and incorrect coloring of the scalar map. (Previous coloring was recovered) --- src/OBJECT/VISU_ScalarMapAct.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/OBJECT/VISU_ScalarMapAct.cxx b/src/OBJECT/VISU_ScalarMapAct.cxx index d50fc26c..6323ce13 100644 --- a/src/OBJECT/VISU_ScalarMapAct.cxx +++ b/src/OBJECT/VISU_ScalarMapAct.cxx @@ -39,9 +39,12 @@ VISU_ScalarMapAct::VISU_ScalarMapAct(){ myScalarBar = VISU_ScalarBarActor::New(); vtkProperty* aProperty = GetProperty(); - aProperty->SetAmbient(1.0); - aProperty->SetDiffuse(0.0); - aProperty->SetSpecular(0.0); + aProperty->SetAmbient(0.5); + aProperty->SetDiffuse(0.2); + aProperty->SetSpecular(0.2); + //aProperty->SetAmbient(1.0); + //aProperty->SetDiffuse(0.0); + //aProperty->SetSpecular(0.0); myProperty->DeepCopy(aProperty); } -- 2.39.2