gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11409: Don't make BitmapMovie::adva


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11409: Don't make BitmapMovie::advance a no-op, or it breaks things.
Date: Wed, 12 Aug 2009 14:41:51 +0200
User-agent: Bazaar (1.16.1)

------------------------------------------------------------
revno: 11409 [merge]
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Wed 2009-08-12 14:41:51 +0200
message:
  Don't make BitmapMovie::advance a no-op, or it breaks things.
modified:
  libcore/BitmapMovie.h
=== modified file 'libcore/BitmapMovie.h'
--- a/libcore/BitmapMovie.h     2009-07-13 18:15:25 +0000
+++ b/libcore/BitmapMovie.h     2009-08-12 12:18:43 +0000
@@ -46,8 +46,10 @@
 
        virtual ~BitmapMovie() {}
     
-    /// This is a no-op for a BitmapMovie, as it never changes.
-       virtual void advance() { }
+    /// BitmapMovies do need an advance method.
+    //
+    /// This may be for play() or other inherited methods.
+       virtual void advance() { MovieClip::advance(); }
 
     virtual float frameRate() const {
         return _def->get_frame_rate();


reply via email to

[Prev in Thread] Current Thread [Next in Thread]