From: apo Date: Thu, 13 Jan 2005 05:44:39 +0000 (+0000) Subject: Fix on Bug PAL5370 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=22006b215145cca85b41403fbb7f10b5f237eae9;p=modules%2Fkernel.git Fix on Bug PAL5370 ScalarMap colors depend on the current view angle --- diff --git a/src/OBJECT/SALOME_Actor.cxx b/src/OBJECT/SALOME_Actor.cxx index b2040b2a3..4b0b088e8 100644 --- a/src/OBJECT/SALOME_Actor.cxx +++ b/src/OBJECT/SALOME_Actor.cxx @@ -50,12 +50,6 @@ using namespace std; -#if defined __GNUC__ - #if __GNUC__ == 2 - #define __GNUC_2__ - #endif -#endif - int SALOME_POINT_SIZE = 3; @@ -65,7 +59,7 @@ vtkStandardNewMacro(SALOME_Actor); SALOME_Actor::SALOME_Actor(){ myIsHighlighted = myIsPreselected = false; - myRepresentation = 1; + myRepresentation = VTK_WIREFRAME; myDisplayMode = myRepresentation - 1; myProperty = vtkProperty::New();