mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 21:30:33 +05:00
Fix some bugs.
This commit is contained in:
parent
3b2080a714
commit
69ef5d6f25
@ -345,7 +345,7 @@ void SMESH_NoteBook::ReplaceVariables()
|
|||||||
else if(aStates->GetObjectType().IsEqual("NETGEN_SimpleParameters_3D") ||
|
else if(aStates->GetObjectType().IsEqual("NETGEN_SimpleParameters_3D") ||
|
||||||
aStates->GetObjectType().IsEqual("NETGEN_SimpleParameters_2D")){
|
aStates->GetObjectType().IsEqual("NETGEN_SimpleParameters_2D")){
|
||||||
|
|
||||||
if((aMethod == "SetNumberOfSegments" || aMethod == "LocalLength") &&
|
if((aMethod == "SetNumberOfSegments" || aMethod == "SetLocalLength") &&
|
||||||
aStates->GetCurrectState().size() >= 1) {
|
aStates->GetCurrectState().size() >= 1) {
|
||||||
if(!aStates->GetCurrectState().at(0).IsEmpty() )
|
if(!aStates->GetCurrectState().at(0).IsEmpty() )
|
||||||
aCmd->SetArg(1,aStates->GetCurrectState().at(0));
|
aCmd->SetArg(1,aStates->GetCurrectState().at(0));
|
||||||
|
Loading…
Reference in New Issue
Block a user