From: apo Date: Mon, 7 Feb 2005 05:50:14 +0000 (+0000) Subject: Connect to Bug PAL7927 X-Git-Tag: V2_2_0~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a2ef1e8756f5fded658f14f496536f8e1fb0fe61;p=modules%2Fvisu.git Connect to Bug PAL7927 REGRESSION: It is an incorrect import of the MED file and incorrect coloring of the scalar map. --- 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); }