]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix some bugs.
authorrnv <rnv@opencascade.com>
Tue, 2 Dec 2008 14:31:42 +0000 (14:31 +0000)
committerrnv <rnv@opencascade.com>
Tue, 2 Dec 2008 14:31:42 +0000 (14:31 +0000)
src/SMESH_I/SMESH_NoteBook.cxx

index afba7c732ff76f0dbe196e5c7378996e3cfc18c9..ac3ae0c152a29c3cc10b9c56e718277b0f5ea948 100644 (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));