From 86aa63c6c08f47db48f5992ab4413833de7caf77 Mon Sep 17 00:00:00 2001 From: akl Date: Mon, 21 Feb 2011 12:53:43 +0000 Subject: [PATCH] Fix of 0021175: EDF 1692 VISU: Scalar bar range is not good. --- src/CONVERTOR/VISU_MedConvertor.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/CONVERTOR/VISU_MedConvertor.cxx b/src/CONVERTOR/VISU_MedConvertor.cxx index 060e6e35..764e4376 100644 --- a/src/CONVERTOR/VISU_MedConvertor.cxx +++ b/src/CONVERTOR/VISU_MedConvertor.cxx @@ -1621,9 +1621,10 @@ BuildTimeStampMinMax(MED::SharedPtr theTimeStampValue, TInt aNbElem = aMMeshValue.myNbElem; TInt aNbGauss = aMMeshValue.myNbGauss; - MED::TGeom2Gauss::const_iterator aGaussIter = theGeom2Gauss.find(aMGeom); - if(aGaussIter == theGeom2Gauss.end()) - aNbGauss = 1; +// AKL: fix of 0021175 issue. Non-regression test is GVIEW10561(import zzzz121b.med). +// MED::TGeom2Gauss::const_iterator aGaussIter = theGeom2Gauss.find(aMGeom); +// if(aGaussIter == theGeom2Gauss.end()) +// aNbGauss = 1; INITMSG(MYDEBUG, "- aMGeom = "<