From ad312c8c2f11b10b49601cf290dedf3dacdf7732 Mon Sep 17 00:00:00 2001 From: ana Date: Fri, 13 Apr 2012 11:12:06 +0000 Subject: [PATCH] Small fix. Salome catch exception during creation 0 ISOs --- src/OCC2VTK/GEOM_WireframeFace.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2