From a2ef1e8756f5fded658f14f496536f8e1fb0fe61 Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 7 Feb 2005 05:50:14 +0000 Subject: [PATCH] Connect to Bug PAL7927 REGRESSION: It is an incorrect import of the MED file and incorrect coloring of the scalar map. --- src/OBJECT/VISU_ScalarMapAct.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/OBJECT/VISU_ScalarMapAct.cxx b/src/OBJECT/VISU_ScalarMapAct.cxx index 6323ce13..01449f79 100644 --- a/src/OBJECT/VISU_ScalarMapAct.cxx +++ b/src/OBJECT/VISU_ScalarMapAct.cxx @@ -39,12 +39,12 @@ VISU_ScalarMapAct::VISU_ScalarMapAct(){ myScalarBar = VISU_ScalarBarActor::New(); vtkProperty* aProperty = GetProperty(); - aProperty->SetAmbient(0.5); - aProperty->SetDiffuse(0.2); - aProperty->SetSpecular(0.2); - //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