#include "utilities.h"
-#ifdef _DEBUG_
-static int MYDEBUG = 0;
-#else
-static int MYDEBUG = 0;
-#endif
SMESH_ActorDef* SMESH_ActorDef::New(){
return new SMESH_ActorDef();
SMESH_ActorDef::SMESH_ActorDef()
{
- if(MYDEBUG) MESSAGE("SMESH_ActorDef - "<<this);
+ MESSAGE("SMESH_ActorDef - "<<this);
SALOME_Actor::SetVisibility(false); // avoid update of pipelines
SMESH_ActorDef::~SMESH_ActorDef()
{
- if(MYDEBUG) MESSAGE("~SMESH_ActorDef - "<<this);
+ MESSAGE("~SMESH_ActorDef - "<<this);
// Please keep the order same as one in the header file
void SMESH_ActorDef::Update()
{
- if(MYDEBUG) MESSAGE("SMESH_ActorDef::Update");
+ MESSAGE("SMESH_ActorDef::Update");
myVisualObj->Update();
}
if ( GetVisibility() )
aFilter->Update();
- if (MYDEBUG) MESSAGE(aFilter->GetOutput()->GetNumberOfCells());
+ MESSAGE(aFilter->GetOutput()->GetNumberOfCells());
}
#ifndef DISABLE_PLOT2DVIEWER