mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
enable NoteBook variables for "MaxSize"
This commit is contained in:
parent
015abb3cd3
commit
666e100eeb
@ -423,6 +423,7 @@ QString StdMeshersGUI_StdHypothesisCreator::storeParams() const
|
||||
StdMeshers::StdMeshers_MaxLength::_narrow( hypothesis() );
|
||||
|
||||
h->SetLength( params[0].myValue.toDouble() );
|
||||
h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList));
|
||||
h->SetUsePreestimatedLength( widget< QCheckBox >( 1 )->isChecked() );
|
||||
if ( !h->HavePreestimatedLength() && !h->_is_equivalent( initParamsHypothesis() )) {
|
||||
StdMeshers::StdMeshers_MaxLength_var hInit =
|
||||
@ -610,7 +611,8 @@ bool StdMeshersGUI_StdHypothesisCreator::stdParams( ListOfStdParams& p ) const
|
||||
}
|
||||
|
||||
item.myName = tr("SMESH_LOCAL_LENGTH_PARAM");
|
||||
item.myValue = h->GetLength();
|
||||
if(!initVariableName(aParameters,item,0))
|
||||
item.myValue = h->GetLength();
|
||||
p.append( item );
|
||||
customWidgets()->append(0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user