From 0f85ac62f79aa38648f03cf4155baece51fbf14c Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 2 Apr 2013 13:06:05 +0000 Subject: [PATCH] Fix OwnHypothesis() - if not distribHyp: + if not self.distribHyp: --- src/SMESH_SWIG/StdMeshersDC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH_SWIG/StdMeshersDC.py b/src/SMESH_SWIG/StdMeshersDC.py index 27b1e7075..3e1abf1d3 100644 --- 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 -- 2.39.2