Merge from V6_main 01/04/2013

This commit is contained in:
vsr 2013-04-02 14:33:29 +00:00
parent bd8f1aee7c
commit de3c6b4c61

View File

@ -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