]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To introduce explicit UpdateFromFactory method instead of usage a virtual Update one
authorapo <apo@opencascade.com>
Wed, 16 Nov 2005 11:51:08 +0000 (11:51 +0000)
committerapo <apo@opencascade.com>
Wed, 16 Nov 2005 11:51:08 +0000 (11:51 +0000)
src/OBJECT/VISU_Actor.cxx
src/OBJECT/VISU_Actor.h

index c576c022445dd9e526d683276156256a442754bc..7cfc003b5090a7e737e2d907cc8cbc137e2ac2a9 100644 (file)
@@ -194,10 +194,10 @@ VISU_Actor
 //----------------------------------------------------------------------------
 void
 VISU_Actor
-::Update()
+::UpdateFromFactory()
 {
   myActorFactory->UpdateActor(this);
-  Superclass::Update();
+  Update();
 }
 
 void
index 6078198e93e39f381b2189ebecb9a39d77e9af51..ffeab72e279cbafa2fc4afd5f775057e9eb0abad 100644 (file)
@@ -100,7 +100,7 @@ class VTKOCC_EXPORT VISU_Actor :
   //----------------------------------------------------------------------------
   virtual
   void
-  Update();
+  UpdateFromFactory();
 
   virtual
   void