mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
Fix OwnHypothesis()
- if not distribHyp: + if not self.distribHyp:
This commit is contained in:
parent
641a9ef553
commit
0f85ac62f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user