Fix of test cases geom/bugs11/L7,L8

This commit is contained in:
skv 2013-08-15 07:42:38 +00:00
parent 93a34485f0
commit 5fa52deb18

View 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")