From: ana Date: Fri, 13 Apr 2012 11:12:06 +0000 (+0000) Subject: Small fix. X-Git-Tag: TRIPOLI_323~55 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ad312c8c2f11b10b49601cf290dedf3dacdf7732;p=modules%2Fgeom.git Small fix. Salome catch exception during creation 0 ISOs --- diff --git a/src/OCC2VTK/GEOM_WireframeFace.cxx b/src/OCC2VTK/GEOM_WireframeFace.cxx index dc25aa622..49e2911ae 100755 --- a/src/OCC2VTK/GEOM_WireframeFace.cxx +++ b/src/OCC2VTK/GEOM_WireframeFace.cxx @@ -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);