From: ouv Date: Mon, 1 Dec 2008 14:40:13 +0000 (+0000) Subject: Dump Python extension X-Git-Tag: TG_DumpPython_Extension_3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3b2080a7142ea82c7f4ac53dfbc008f2dedb1799;p=modules%2Fsmesh.git Dump Python extension --- 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) {