From 65bbf17b570875262a8122d5192b0933bfa46645 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 23 Sep 2005 05:51:40 +0000 Subject: [PATCH] To implement automatic memory management by introducing VISU_Actor::RemoveFromRenderer(void) method --- src/OBJECT/VISU_Actor.cxx | 13 ++++++++++--- src/OBJECT/VISU_Actor.h | 5 +++++ src/OBJECT/VISU_GaussPtsAct.cxx | 12 ++++++++++-- 3 files changed, 25 insertions(+), 5 deletions(-) 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 = "<