]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix on Bug PAL5370
authorapo <apo@opencascade.com>
Thu, 13 Jan 2005 05:44:39 +0000 (05:44 +0000)
committerapo <apo@opencascade.com>
Thu, 13 Jan 2005 05:44:39 +0000 (05:44 +0000)
   ScalarMap colors depend on the current view angle

src/OBJECT/SALOME_Actor.cxx

index b2040b2a3ef5f4c16fbdd48edffb0bdd307f0278..4b0b088e8d4753486b90dd04fbb7250d2880bf74 100644 (file)
 
 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();