From: apo Date: Wed, 16 Nov 2005 11:51:08 +0000 (+0000) Subject: To introduce explicit UpdateFromFactory method instead of usage a virtual Update one X-Git-Tag: BR-D5-38-2003_D2005-24-11~34 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=326434182b827249b7196ac76fe10d2ba6f6e262;p=modules%2Fvisu.git To introduce explicit UpdateFromFactory method instead of usage a virtual Update one --- diff --git a/src/OBJECT/VISU_Actor.cxx b/src/OBJECT/VISU_Actor.cxx index c576c022..7cfc003b 100644 --- a/src/OBJECT/VISU_Actor.cxx +++ b/src/OBJECT/VISU_Actor.cxx @@ -194,10 +194,10 @@ VISU_Actor //---------------------------------------------------------------------------- void VISU_Actor -::Update() +::UpdateFromFactory() { myActorFactory->UpdateActor(this); - Superclass::Update(); + Update(); } void diff --git a/src/OBJECT/VISU_Actor.h b/src/OBJECT/VISU_Actor.h index 6078198e..ffeab72e 100644 --- a/src/OBJECT/VISU_Actor.h +++ b/src/OBJECT/VISU_Actor.h @@ -100,7 +100,7 @@ class VTKOCC_EXPORT VISU_Actor : //---------------------------------------------------------------------------- virtual void - Update(); + UpdateFromFactory(); virtual void