]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Disable debug information
authorapo <apo@opencascade.com>
Thu, 2 Nov 2006 10:39:20 +0000 (10:39 +0000)
committerapo <apo@opencascade.com>
Thu, 2 Nov 2006 10:39:20 +0000 (10:39 +0000)
src/VISU_I/VISU_Prs3d_i.cc
src/VISU_I/VISU_ScalarMap_i.cc
src/VISU_I/VISU_ViewManager_i.cc

index f40c1aa12a637d2b5df5381b96cc5ece46f2d6a5..75a0b42f75a9be696f4230588b3bd21f3628d850 100644 (file)
@@ -42,7 +42,7 @@ using namespace VISU;
 using namespace std;
 
 #ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = 0;
 #else
 static int MYDEBUG = 0;
 #endif
index cb3e6b08a578995c467344ff1ea4ec6da46f4838..b52232ed0447ef0aa96fa267deff94f1657ceb66 100644 (file)
@@ -68,7 +68,7 @@ VISU::ScalarMap_i
       aSize *= INCMEMORY;
       if(isMemoryCheck){
        aResult = VISU_PipeLine::CheckAvailableMemory(aSize);
-       MESSAGE("ScalarMap_i::IsPossible - CheckAvailableMemory = "<<float(aSize)<<"; aResult = "<<aResult);
+       if(MYDEBUG) MESSAGE("ScalarMap_i::IsPossible - CheckAvailableMemory = "<<float(aSize)<<"; aResult = "<<aResult);
       }
     }
     return aResult;
index cb6425f49db1ecf6c4f9ca6ef8a32aca6a1eff5c..45cc509b8fc3a6463e5181d1c0c31cac413af0c4 100644 (file)
@@ -60,7 +60,7 @@
 using namespace std;
 
 #ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = 0;
 #else
 static int MYDEBUG = 0;
 #endif