From 5fa52deb1827f221e4566d6a9e37d1d2ac42d10e Mon Sep 17 00:00:00 2001 From: skv Date: Thu, 15 Aug 2013 07:42:38 +0000 Subject: [PATCH] Fix of test cases geom/bugs11/L7,L8 --- src/GEOM_SWIG/geomBuilder.py | 3 +++ 1 file changed, 3 insertions(+) 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") -- 2.39.2