From: apo Date: Fri, 23 Sep 2005 05:51:40 +0000 (+0000) Subject: To implement automatic memory management by introducing VISU_Actor::RemoveFromRendere... X-Git-Tag: BR-D5-38-2003_D2005-12-10~153 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65bbf17b570875262a8122d5192b0933bfa46645;p=modules%2Fvisu.git To implement automatic memory management by introducing VISU_Actor::RemoveFromRenderer(void) method --- diff --git a/src/OBJECT/VISU_Actor.cxx b/src/OBJECT/VISU_Actor.cxx index 596705fc..6afb6871 100644 --- a/src/OBJECT/VISU_Actor.cxx +++ b/src/OBJECT/VISU_Actor.cxx @@ -67,7 +67,7 @@ using namespace std; static int MYVTKDEBUG = 0; #ifdef _DEBUG_ -static int MYDEBUG = 1; +static int MYDEBUG = 0; #else static int MYDEBUG = 0; #endif @@ -89,8 +89,7 @@ VISU_Actor myAnnotationMapper(vtkTextMapper::New()), myAnnotationActor(vtkTextActor::New()) { - if(MYDEBUG) MESSAGE("VISU_Actor() - this = "<