From b0cb84c66c914fa74c29100fd24c7b1b2366b434 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 10 Sep 2014 13:35:13 +0400 Subject: [PATCH] 22687: [CEA 1271] Regression on test script bug_714_ghs3d_enforced_mesh.py --- src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx index 03a1b08..16aa61b 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx @@ -4716,7 +4716,8 @@ namespace */ static GHS3DPlugin_Hypothesis* GetGHSHypothesis( SMESH_subMesh* subMesh ) { - SMESH_HypoFilter ghsHypFilter( SMESH_HypoFilter::HasName( "GHS3D_Parameters" )); + SMESH_HypoFilter ghsHypFilter + ( SMESH_HypoFilter::HasName( GHS3DPlugin_Hypothesis::GetHypType() )); return (GHS3DPlugin_Hypothesis* ) subMesh->GetFather()->GetHypothesis( subMesh->GetSubShape(), ghsHypFilter, -- 2.39.2