]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix of test cases geom/bugs11/L7,L8
authorskv <skv@opencascade.com>
Thu, 15 Aug 2013 07:42:38 +0000 (07:42 +0000)
committerskv <skv@opencascade.com>
Thu, 15 Aug 2013 07:42:38 +0000 (07:42 +0000)
src/GEOM_SWIG/geomBuilder.py

index 7f309b0f2cf3487fcf6c26bca044d8c929070039..b8fd29a70cc26400c38eca3ca17959235d37cb25 100644 (file)
@@ -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")