From 22006b215145cca85b41403fbb7f10b5f237eae9 Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 13 Jan 2005 05:44:39 +0000 Subject: [PATCH] Fix on Bug PAL5370 ScalarMap colors depend on the current view angle --- src/OBJECT/SALOME_Actor.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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(); -- 2.39.2