]> SALOME platform Git repositories - plugins/hexablockplugin.git/commitdiff
Salome HOME
Abu : suppression des traces en mode nominal V6_6_0a1 V6_6_0b1
authorfps <fps@opencascade.com>
Wed, 26 Sep 2012 14:27:07 +0000 (14:27 +0000)
committerfps <fps@opencascade.com>
Wed, 26 Sep 2012 14:27:07 +0000 (14:27 +0000)
src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.cxx
src/HEXABLOCKPlugin/HEXABLOCKPlugin_HEXABLOCK_i.cxx
src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis_i.cxx
src/HEXABLOCKPlugin/HEXABLOCKPlugin_i.cxx
src/HEXABLOCKPlugin/HEXABLOCKPlugin_mesh.cxx

index 1dc0e31dc90052c99486750b9b920c1a88df4cba..83cac7d25757001e0cf19082b3b40b085a27a9c6 100755 (executable)
@@ -53,7 +53,7 @@
 
 
 #ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = HEXA_NS::on_debug ();
 #else
 static int MYDEBUG = 0;
 #endif
index 65428ab272c785ff5fbef7a8b9fdc6f213d24186..45a73906eeb5f4dff04c4c5d81987d1638a00046 100755 (executable)
 #include "HEXABLOCKPlugin_HEXABLOCK.hxx"
 
 #include "utilities.h"
+#include "hexa_base.hxx"
 
 #ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = HEXA_NS::on_debug ();
 #else
 static int MYDEBUG = 0;
 #endif
index 4e864eaffcd17d4d12f96d86e3f9f04b3454eb71..ee285830659ea36281a7246b9691a07502720b20 100755 (executable)
@@ -33,7 +33,7 @@
 #include <utilities.h>
 
 #ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = HEXA_NS::on_debug ();
 #else
 static int MYDEBUG = 0;
 #endif
index 01c0968ff2c9cc11b24981304a87c72ba0909854..6431635c44d6262e2065762890103b28a4b7e2b3 100755 (executable)
 #include "HEXABLOCKPlugin_HEXABLOCK_i.hxx"
 #include "HEXABLOCKPlugin_Hypothesis_i.hxx"
 
+#include "hexa_base.hxx"
 
 #ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = HEXA_NS::on_debug ();
 #else
 static int MYDEBUG = 0;
 #endif
index b0a2c6afd982e4b46104cb48744e0f7fb0aefaab..6d94b9740905deaba646ec3056761805ec0f4b62 100755 (executable)
@@ -89,7 +89,7 @@
 #endif
 
 #ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = HEXA_NS::on_debug ();
 #else
 static int MYDEBUG = 0;
 #endif
@@ -496,8 +496,8 @@ std::map<HEXA_NS::Quad*, bool>  SMESH_HexaBlocks::computeQuadWays( HEXA_NS::Docu
     if(MYDEBUG) MESSAGE("INITIAL QUAD FOUND!" );
     for ( int j=0 ; j < 4 ; ++j ){
       e = q->getEdge(j);
-      if  ( (e_0 == e->getVertex(0)) and (e_1 == e->getVertex(1)) or 
-            (e_0 == e->getVertex(1)) and (e_1 == e->getVertex(0)) ){
+      if  (    ((e_0 == e->getVertex(0)) && (e_1 == e->getVertex(1)))
+            || ((e_0 == e->getVertex(1)) && (e_1 == e->getVertex(0))) ){
         break;
       }
     }