]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Improving "Filtering by Scalars" functionality TG_VISU_2008_2008-09-12
authorapo <apo@opencascade.com>
Fri, 12 Sep 2008 13:10:45 +0000 (13:10 +0000)
committerapo <apo@opencascade.com>
Fri, 12 Sep 2008 13:10:45 +0000 (13:10 +0000)
  - introduction special marks on scalar bar

src/VISU_I/VISU_ScalarMap_i.cc

index ebcba2f52a9c9fcf29b94f22a1ca09f1543ae2ff..75c66379e0fffffd755a3c13d47c25dae9868f29 100644 (file)
@@ -436,7 +436,7 @@ VISU::ScalarMap_i
 
     if ( IsScalarFilterUsed() ) {
       aLookupTable->ForceBuild();
-      static unsigned char MARK_COLOR[] = { 1, 1, 1 };
+      static unsigned char MARK_COLOR[] = { 255, 255, 255 };
       aLookupTable->MarkValueByColor( GetScalarFilterMin(), MARK_COLOR );
       aLookupTable->MarkValueByColor( GetScalarFilterMax(), MARK_COLOR );
     }