From 50ec5b5cbfcadabc75592c8d5c461bb01897f8c3 Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 5 Dec 2008 14:23:27 +0000 Subject: [PATCH] Improve Dump Python. --- src/SMESH_I/SMESH_NoteBook.cxx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/SMESH_I/SMESH_NoteBook.cxx b/src/SMESH_I/SMESH_NoteBook.cxx index d28afb5c0..23a2aea70 100644 --- a/src/SMESH_I/SMESH_NoteBook.cxx +++ b/src/SMESH_I/SMESH_NoteBook.cxx @@ -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") || -- 2.39.2