From a95e9341731bc5433f093740d9bd1ff6892b7dbc Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 30 Aug 2013 08:13:34 +0000 Subject: [PATCH] 22172: [CEA 790] create the groups corresponding to domains Now group creation depends only on SetToMakeGroupsOfDomains flag --- src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx b/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx index 29cd1e1..68ba246 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx @@ -1380,10 +1380,10 @@ bool GHS3DPlugin_Hypothesis::SetParametersByMesh(const SMESH_Mesh* ,const TopoDS */ //================================================================================ -bool GHS3DPlugin_Hypothesis::SetParametersByDefaults(const TDefaults& /*dflts*/, - const SMESH_Mesh* theMesh) +bool GHS3DPlugin_Hypothesis::SetParametersByDefaults(const TDefaults& dflts, + const SMESH_Mesh* /*theMesh*/) { - myToMakeGroupsOfDomains = ( !theMesh || !theMesh->HasShapeToMesh() ); + myToMakeGroupsOfDomains = ( !dflts._shape || dflts._shape->IsNull() ); return true; } -- 2.39.2