From: apo Date: Fri, 12 Sep 2008 13:10:45 +0000 (+0000) Subject: Improving "Filtering by Scalars" functionality X-Git-Tag: TG_VISU_2008_2008-09-12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=73d75f0fc5750a46bf7f14fdfd966404cfd5a01b;p=modules%2Fvisu.git Improving "Filtering by Scalars" functionality - introduction special marks on scalar bar --- diff --git a/src/VISU_I/VISU_ScalarMap_i.cc b/src/VISU_I/VISU_ScalarMap_i.cc index ebcba2f5..75c66379 100644 --- a/src/VISU_I/VISU_ScalarMap_i.cc +++ b/src/VISU_I/VISU_ScalarMap_i.cc @@ -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 ); }