From: akl Date: Mon, 21 Feb 2011 12:53:43 +0000 (+0000) Subject: Fix of 0021175: EDF 1692 VISU: Scalar bar range is not good. X-Git-Tag: V6_main_20110222 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=86aa63c6c08f47db48f5992ab4413833de7caf77;p=modules%2Fvisu.git Fix of 0021175: EDF 1692 VISU: Scalar bar range is not good. --- 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 = "<