]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Small fix.
authorana <ana@opencascade.com>
Fri, 13 Apr 2012 11:12:06 +0000 (11:12 +0000)
committerana <ana@opencascade.com>
Fri, 13 Apr 2012 11:12:06 +0000 (11:12 +0000)
Salome catch exception during creation 0 ISOs

src/OCC2VTK/GEOM_WireframeFace.cxx

index dc25aa6228901bafcba68a7005cd4469fe469204..49e2911aefbe459cf8bf2625e328703e25b56897 100755 (executable)
@@ -132,8 +132,8 @@ CreateIso(const TopoDS_Face& theFace,
                                      Standard_False);
   
   Standard_Real anUMin, anUMax, aVMin, aVMax;
-  TColStd_Array1OfReal anUPrm(1, theNbIso[0]), aVPrm(1, theNbIso[1]);
-  TColStd_Array1OfInteger anUInd(1, theNbIso[0]), aVInd(1, theNbIso[1]);
+  TColStd_Array1OfReal anUPrm(0, theNbIso[0]), aVPrm(0, theNbIso[1]);
+  TColStd_Array1OfInteger anUInd(0, theNbIso[0]), aVInd(0, theNbIso[1]);
 
   anUInd.Init(0);
   aVInd.Init(0);