mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-05 22:30:33 +05:00
PAL21717: default values of hypothesis for sub-mesh
Use default hyp value if submesh is not meshed
This commit is contained in:
parent
48bd54b61b
commit
b81483e2d9
@ -946,12 +946,19 @@ SMESHGUI_MeshOp::getInitParamsHypothesis( const QString& aHypType,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return SMESHGUI::GetSMESHGen()->GetHypothesisParameterValues( aHypType.toLatin1().data(),
|
SMESH::SMESH_Hypothesis_var hyp =
|
||||||
|
SMESHGUI::GetSMESHGen()->GetHypothesisParameterValues( aHypType.toLatin1().data(),
|
||||||
aServerLib.toLatin1().data(),
|
aServerLib.toLatin1().data(),
|
||||||
aMeshVar,
|
aMeshVar,
|
||||||
aGeomVar,
|
aGeomVar,
|
||||||
/*byMesh = */isSubMesh);
|
/*byMesh = */isSubMesh);
|
||||||
|
if ( hyp->_is_nil() && isSubMesh )
|
||||||
|
hyp = SMESHGUI::GetSMESHGen()->GetHypothesisParameterValues( aHypType.toLatin1().data(),
|
||||||
|
aServerLib.toLatin1().data(),
|
||||||
|
aMeshVar,
|
||||||
|
aGeomVar,
|
||||||
|
/*byMesh = */false);
|
||||||
|
return hyp;
|
||||||
}
|
}
|
||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user