Dump Python extension

This commit is contained in:
ouv 2008-12-01 14:40:13 +00:00
parent 3efa541de7
commit 3b2080a714
2 changed files with 7 additions and 7 deletions

View File

@ -43,15 +43,12 @@
#ifdef _DEBUG_ #ifdef _DEBUG_
static int MYDEBUG = 0; static int MYDEBUG = 0;
static int VARIABLE_DEBUG = 1; static int VARIABLE_DEBUG = 0;
#else #else
static int MYDEBUG = 0; static int MYDEBUG = 0;
static int VARIABLE_DEBUG = 1; static int VARIABLE_DEBUG = 0;
#endif #endif
//============================================================================= //=============================================================================
/*! /*!
* Get...Tag [ static ] * Get...Tag [ static ]

View File

@ -33,9 +33,9 @@
#include <string> #include <string>
#ifdef _DEBUG_ #ifdef _DEBUG_
static int MYDEBUG = 1; static int MYDEBUG = 0;
#else #else
static int MYDEBUG = 1; static int MYDEBUG = 0;
#endif #endif
using namespace std; using namespace std;
@ -414,6 +414,8 @@ void SMESH_NoteBook::ReplaceVariables()
} }
} }
else if(aCurrentStateSize == 6) { // translation by x1, x2, y1, y2, z1, z2 else if(aCurrentStateSize == 6) { // translation by x1, x2, y1, y2, z1, z2
// TODO: limitation until operations on the variables will be introduced
/*
isVariableFound = true; isVariableFound = true;
for(int j = 0; j < 3; j++) { for(int j = 0; j < 3; j++) {
TCollection_AsciiString anArg = aCmd->GetArg(anArgIndex+j); TCollection_AsciiString anArg = aCmd->GetArg(anArgIndex+j);
@ -437,6 +439,7 @@ void SMESH_NoteBook::ReplaceVariables()
} }
aCmd->SetArg(anArgIndex+j, aValue1 + ", " + aValue2 ); aCmd->SetArg(anArgIndex+j, aValue1 + ", " + aValue2 );
} }
*/
} }
} }
if(isVariableFound) { if(isVariableFound) {