in Mesh.Compute(), report hypothesis errors even if compute() returns OK

This commit is contained in:
eap 2008-04-23 07:02:52 +00:00
parent 570bbfb2ff
commit 95f6a1059b

View File

@ -732,7 +732,7 @@ class Mesh:
import traceback
print "Mesh computation failed, exception caught:"
traceback.print_exc()
if not ok:
if True:#not ok:
errors = self.smeshpyD.GetAlgoState( self.mesh, geom )
allReasons = ""
for err in errors:
@ -768,7 +768,8 @@ class Mesh:
if allReasons != "":
print '"' + GetName(self.mesh) + '"',"has not been computed:"
print allReasons
else:
ok = False
elif not ok:
print '"' + GetName(self.mesh) + '"',"has not been computed."
pass
pass