From 3b2080a7142ea82c7f4ac53dfbc008f2dedb1799 Mon Sep 17 00:00:00 2001 From: ouv Date: Mon, 1 Dec 2008 14:40:13 +0000 Subject: [PATCH] Dump Python extension --- src/SMESH_I/SMESH_Gen_i_1.cxx | 7 ++----- src/SMESH_I/SMESH_NoteBook.cxx | 7 +++++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/SMESH_I/SMESH_Gen_i_1.cxx b/src/SMESH_I/SMESH_Gen_i_1.cxx index 039330044..0eaa31f61 100644 --- a/src/SMESH_I/SMESH_Gen_i_1.cxx +++ b/src/SMESH_I/SMESH_Gen_i_1.cxx @@ -43,15 +43,12 @@ #ifdef _DEBUG_ static int MYDEBUG = 0; -static int VARIABLE_DEBUG = 1; +static int VARIABLE_DEBUG = 0; #else static int MYDEBUG = 0; -static int VARIABLE_DEBUG = 1; +static int VARIABLE_DEBUG = 0; #endif - - - //============================================================================= /*! * Get...Tag [ static ] diff --git a/src/SMESH_I/SMESH_NoteBook.cxx b/src/SMESH_I/SMESH_NoteBook.cxx index 14df8189a..afba7c732 100644 --- a/src/SMESH_I/SMESH_NoteBook.cxx +++ b/src/SMESH_I/SMESH_NoteBook.cxx @@ -33,9 +33,9 @@ #include #ifdef _DEBUG_ -static int MYDEBUG = 1; +static int MYDEBUG = 0; #else -static int MYDEBUG = 1; +static int MYDEBUG = 0; #endif using namespace std; @@ -414,6 +414,8 @@ void SMESH_NoteBook::ReplaceVariables() } } else if(aCurrentStateSize == 6) { // translation by x1, x2, y1, y2, z1, z2 + // TODO: limitation until operations on the variables will be introduced + /* isVariableFound = true; for(int j = 0; j < 3; j++) { TCollection_AsciiString anArg = aCmd->GetArg(anArgIndex+j); @@ -437,6 +439,7 @@ void SMESH_NoteBook::ReplaceVariables() } aCmd->SetArg(anArgIndex+j, aValue1 + ", " + aValue2 ); } + */ } } if(isVariableFound) { -- 2.30.2