Salome HOME
Dump Python extension TG_DumpPython_Extension_3
authorouv <ouv@opencascade.com>
Mon, 1 Dec 2008 14:40:13 +0000 (14:40 +0000)
committerouv <ouv@opencascade.com>
Mon, 1 Dec 2008 14:40:13 +0000 (14:40 +0000)
src/SMESH_I/SMESH_Gen_i_1.cxx
src/SMESH_I/SMESH_NoteBook.cxx

index 039330044f205246939bdb62e7c77422dfa6e397..0eaa31f61a4f59dabaa678d9bdffb2929688d766 100644 (file)
 
 #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 ]
index 14df8189a89d74779db64717bd067e78656d5600..afba7c732ff76f0dbe196e5c7378996e3cfc18c9 100644 (file)
@@ -33,9 +33,9 @@
 #include <string>
 
 #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) {