]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Improve Dump Python.
authorrnv <rnv@opencascade.com>
Fri, 5 Dec 2008 14:23:27 +0000 (14:23 +0000)
committerrnv <rnv@opencascade.com>
Fri, 5 Dec 2008 14:23:27 +0000 (14:23 +0000)
src/SMESH_I/SMESH_NoteBook.cxx

index d28afb5c07307957398f4da9f9e0d9a25de33cf9..23a2aea705f649022ba65eaa90e8d4889099c756 100644 (file)
@@ -404,9 +404,12 @@ void SMESH_NoteBook::ReplaceVariables()
       else if(aStates->GetObjectType().IsEqual("Mesh")) {
        TState aCurrentState = aStates->GetCurrectState();
         int aCurrentStateSize = aCurrentState.size();
-       if(aMethod.IsEqual("Translate") ||
-           aMethod.IsEqual("TranslateMakeGroups") ||
-           aMethod.IsEqual("TranslateMakeMesh")) {
+       if(aMethod.IsEqual("Translate")                  ||
+           aMethod.IsEqual("TranslateMakeGroups")        ||
+           aMethod.IsEqual("TranslateMakeMesh")          ||
+           aMethod.IsEqual("TranslateObject")            ||
+           aMethod.IsEqual("TranslateObjectMakeGroups")  ||
+           aMethod.IsEqual("TranslateObjectMakeMesh")) {
           bool isVariableFound = false;
           int anArgIndex = 0;
           for(int i = 1, n = aCmd->GetNbArgs(); i <= n; i++) {
@@ -465,6 +468,9 @@ void SMESH_NoteBook::ReplaceVariables()
        else if(aMethod.IsEqual("Rotate")                  ||
                aMethod.IsEqual("RotateMakeGroups")        ||
                aMethod.IsEqual("RotateMakeMesh")          ||
+                aMethod.IsEqual("RotateObject")            ||
+                aMethod.IsEqual("RotateObjectMakeGroups")  ||
+                aMethod.IsEqual("RotateObjectMakeMesh")    ||
                aMethod.IsEqual("RotationSweep")           ||
                aMethod.IsEqual("RotationSweepMakeGroups") ||
                aMethod.IsEqual("Mirror")                  ||