From: rnv Date: Fri, 5 Dec 2008 14:23:27 +0000 (+0000) Subject: Improve Dump Python. X-Git-Tag: TG_DumpPython_Extension_3_1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=50ec5b5cbfcadabc75592c8d5c461bb01897f8c3;p=modules%2Fsmesh.git Improve Dump Python. --- 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") ||