Now group creation depends only on SetToMakeGroupsOfDomains flag
*/
//================================================================================
-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;
}