From: eap Date: Fri, 30 Aug 2013 08:13:34 +0000 (+0000) Subject: 22172: [CEA 790] create the groups corresponding to domains X-Git-Tag: V7_3_0a1~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a95e9341731bc5433f093740d9bd1ff6892b7dbc;p=plugins%2Fghs3dplugin.git 22172: [CEA 790] create the groups corresponding to domains Now group creation depends only on SetToMakeGroupsOfDomains flag --- 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; }