From: apo Date: Mon, 19 Dec 2005 07:18:02 +0000 (+0000) Subject: Bug GVIEW10814 X-Git-Tag: TG-D5-38-2003_D2005-20-12~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fe1e3c669ba1d18b38790d8f892c28191280511e;p=modules%2Fvisu.git Bug GVIEW10814 size of the cursor is not modified when changing the magnification Minor changes. Bicolor mode defined as Red > 0 and Blue <= 0 --- diff --git a/src/OBJECT/VISU_GaussPtsAct.cxx b/src/OBJECT/VISU_GaussPtsAct.cxx index 89e1435a..18ea5f9d 100644 --- a/src/OBJECT/VISU_GaussPtsAct.cxx +++ b/src/OBJECT/VISU_GaussPtsAct.cxx @@ -387,7 +387,7 @@ namespace aRadius *= theGaussPointsPL->GetSize() * theGaussPointsPL->GetAverageCellSize(); else if(theGaussPointsPL->GetBicolor()){ float aVal = theScalarArray->GetTuple1(theVTKID); - if(aVal >= 0) + if(aVal > 0.0) aRadius *= theGaussPointsPL->GetMaxSize(); else aRadius *= theGaussPointsPL->GetMinSize();