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:
641a9ef
)
Fix OwnHypothesis()
author
eap
<eap@opencascade.com>
Tue, 2 Apr 2013 13:06:05 +0000
(13:06 +0000)
committer
eap
<eap@opencascade.com>
Tue, 2 Apr 2013 13:06:05 +0000
(13:06 +0000)
- if not distribHyp:
+ if not self.distribHyp:
src/SMESH_SWIG/StdMeshersDC.py
patch
|
blob
|
history
diff --git
a/src/SMESH_SWIG/StdMeshersDC.py
b/src/SMESH_SWIG/StdMeshersDC.py
index 27b1e70755f59190a21d899647e4370985afd7eb..3e1abf1d3beea07b6e1f17e8717ebf9c54082b0d 100644
(file)
--- a/
src/SMESH_SWIG/StdMeshersDC.py
+++ b/
src/SMESH_SWIG/StdMeshersDC.py
@@
-895,7
+895,7
@@
class StdMeshersDC_Prism3D(Mesh_Algorithm):
self.mesh.smeshpyD.SetCurrentStudy( None )
hyp = self.mesh.smeshpyD.CreateHypothesis(hypType, so)
self.mesh.smeshpyD.SetCurrentStudy( study ) # enables publishing
- if not distribHyp:
+ if not
self.
distribHyp:
self.distribHyp = self.Hypothesis("LayerDistribution", UseExisting=0)
self.distribHyp.SetLayerDistribution( hyp )
return hyp