From 2659c9a7a6044b7fedae62bc4875ca2c6563f684 Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 23 Dec 2008 11:35:52 +0000 Subject: [PATCH] Initialize fields in constructor --- src/OBJECT/VISU_ActorBase.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/OBJECT/VISU_ActorBase.cxx b/src/OBJECT/VISU_ActorBase.cxx index b27843b4..1fe8f758 100644 --- a/src/OBJECT/VISU_ActorBase.cxx +++ b/src/OBJECT/VISU_ActorBase.cxx @@ -43,9 +43,10 @@ VISU_ActorBase ::VISU_ActorBase() : + myActorFactory(NULL), + myShrinkFilter(VTKViewer_ShrinkFilter::New()), myIsShrinkable(true), - myIsShrunk(false), - myShrinkFilter(VTKViewer_ShrinkFilter::New()) + myIsShrunk(false) { myShrinkFilter->Delete(); -- 2.39.2