From 37f2c3cad90aa6e2a84d168e4ece9d1f25873a86 Mon Sep 17 00:00:00 2001 From: ana Date: Fri, 13 Apr 2012 08:46:38 +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 8b88b9db9..660b28f56 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