Fix some bugs.

This commit is contained in:
rnv 2008-12-02 14:31:42 +00:00
parent 3b2080a714
commit 69ef5d6f25

View File

@ -345,7 +345,7 @@ void SMESH_NoteBook::ReplaceVariables()
else if(aStates->GetObjectType().IsEqual("NETGEN_SimpleParameters_3D") ||
aStates->GetObjectType().IsEqual("NETGEN_SimpleParameters_2D")){
if((aMethod == "SetNumberOfSegments" || aMethod == "LocalLength") &&
if((aMethod == "SetNumberOfSegments" || aMethod == "SetLocalLength") &&
aStates->GetCurrectState().size() >= 1) {
if(!aStates->GetCurrectState().at(0).IsEmpty() )
aCmd->SetArg(1,aStates->GetCurrectState().at(0));