Salome HOME
[bos #32517][EDF] Dynamic log messages switched on and off by SALOME_VERBOSE environm...
[modules/smesh.git] / src / OBJECT / SMESH_PreviewActorsCollection.cxx
index 1c346644f07a51e4229df1c6d6d3b94b280d968c..b4d7cda418b19cab830eef6f85e1db3388665cb0 100644 (file)
 #include <SUIT_ResourceMgr.h>
 #include <SUIT_Session.h>
 
-#ifdef _DEBUG_
-static int MYDEBUG = 0;
-#else
-static int MYDEBUG = 0;
-#endif
-
 
 SMESH_PreviewActorsCollection::SMESH_PreviewActorsCollection() :
   mySelector( 0 ), myRenderer( 0 ), myCurrentChunk( 0 ), myChunkSize( 0 ), myIsShown( true )
 {
-  if(MYDEBUG) MESSAGE("SMESH_PreviewActorsCollection - "<<this);
+  MESSAGE("SMESH_PreviewActorsCollection - "<<this);
 }
 
 
 SMESH_PreviewActorsCollection::~SMESH_PreviewActorsCollection()
 {
-  if(MYDEBUG) MESSAGE("~SMESH_PreviewActorsCollection - "<<this);
+  MESSAGE("~SMESH_PreviewActorsCollection - "<<this);
   clearActors();
 }