]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix of 0021175: EDF 1692 VISU: Scalar bar range is not good. V6_main_20110222
authorakl <akl@opencascade.com>
Mon, 21 Feb 2011 12:53:43 +0000 (12:53 +0000)
committerakl <akl@opencascade.com>
Mon, 21 Feb 2011 12:53:43 +0000 (12:53 +0000)
src/CONVERTOR/VISU_MedConvertor.cxx

index 060e6e355f4bf6d40d5e0bfd1a25520234750e33..764e4376e18e8644d34c196a0bc9d1551f430a4d 100644 (file)
@@ -1621,9 +1621,10 @@ BuildTimeStampMinMax(MED::SharedPtr<TimeStampValueType> 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 = "<<aMGeom<<