From: jfa Date: Tue, 23 Dec 2008 11:35:52 +0000 (+0000) Subject: Initialize fields in constructor X-Git-Tag: before_mergefrom_BR_V5_IMP_P8_22Jan09~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2659c9a7a6044b7fedae62bc4875ca2c6563f684;p=modules%2Fvisu.git Initialize fields in constructor --- 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();