gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/MovieTester.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/MovieTester.cpp
Date: Fri, 09 Feb 2007 14:27:33 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/02/09 14:27:33

Modified files:
        .              : ChangeLog 
        testsuite      : MovieTester.cpp 

Log message:
                * testsuite/MovieTester.cpp: advance the movie_root, not
                  the topmost sprite ! This properly run interval timers.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2288&r2=1.2289
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/MovieTester.cpp?cvsroot=gnash&r1=1.19&r2=1.20

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2288
retrieving revision 1.2289
diff -u -b -r1.2288 -r1.2289
--- ChangeLog   9 Feb 2007 13:38:50 -0000       1.2288
+++ ChangeLog   9 Feb 2007 14:27:33 -0000       1.2289
@@ -1,5 +1,7 @@
 2007-02-09 Sandro Santilli <address@hidden>
 
+       * testsuite/MovieTester.cpp: advance the movie_root, not
+         the topmost sprite ! This properly run interval timers.
        * server/movie_root.{cpp,h}: Store Timer objects
          by value, not by pointer (make memory management easier);
          I might change this in the future, but for now it works

Index: testsuite/MovieTester.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/MovieTester.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- testsuite/MovieTester.cpp   8 Feb 2007 00:38:51 -0000       1.19
+++ testsuite/MovieTester.cpp   9 Feb 2007 14:27:33 -0000       1.20
@@ -102,9 +102,9 @@
        // introduce differences, so better to reproduce
        // real runs as close as possible, by calling display().
        //
-       _movie->display();
+       _movie_root->display();
 
-       _movie->advance(1.0);
+       _movie_root->advance(1.0);
 #ifdef SHOW_INVALIDATED_BOUNDS_ON_ADVANCE
        geometry::Range2d<float> invalidatedbounds = getInvalidatedBounds();
        std::stringstream ss;




reply via email to

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