mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-15 22:50:37 +05:00
Dump Python extension
This commit is contained in:
parent
3efa541de7
commit
3b2080a714
@ -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 ]
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user