From: skv Date: Thu, 15 Aug 2013 07:42:38 +0000 (+0000) Subject: Fix of test cases geom/bugs11/L7,L8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5fa52deb1827f221e4566d6a9e37d1d2ac42d10e;p=modules%2Fgeom.git Fix of test cases geom/bugs11/L7,L8 --- diff --git a/src/GEOM_SWIG/geomBuilder.py b/src/GEOM_SWIG/geomBuilder.py index 7f309b0f2..b8fd29a70 100644 --- a/src/GEOM_SWIG/geomBuilder.py +++ b/src/GEOM_SWIG/geomBuilder.py @@ -5991,6 +5991,9 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): anObj = self.HealOp.SewAllowNonManifold(theObject, theTolerance) else: anObj = self.HealOp.Sew(theObject, theTolerance) + # To avoid script failure in case of good argument shape + if self.HealOp.GetErrorCode() == "ShHealOper_NotError_msg": + return theObject RaiseIfFailed("Sew", self.HealOp) anObj.SetParameters(Parameters) self._autoPublish(anObj, theName, "sewed")