Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
570bbfb
)
in Mesh.Compute(), report hypothesis errors even if compute() returns OK
author
eap
<eap@opencascade.com>
Wed, 23 Apr 2008 07:02:52 +0000
(07:02 +0000)
committer
eap
<eap@opencascade.com>
Wed, 23 Apr 2008 07:02:52 +0000
(07:02 +0000)
src/SMESH_SWIG/smeshDC.py
patch
|
blob
|
history
diff --git
a/src/SMESH_SWIG/smeshDC.py
b/src/SMESH_SWIG/smeshDC.py
index 96d8756b66c564d1a5be9b3840ead10af099d5b6..462eee2550368042ff03a052b6e4616bf9d7d21e 100644
(file)
--- a/
src/SMESH_SWIG/smeshDC.py
+++ b/
src/SMESH_SWIG/smeshDC.py
@@
-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