gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog server/movie_root.h


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog server/movie_root.h
Date: Wed, 06 Dec 2006 09:30:41 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/12/06 09:30:41

Modified files:
        .              : ChangeLog 
        server         : movie_root.h 

Log message:
                * server/movie_root.h (get_invalidated_bounds): use 
rect::set_world()
                  rather then using a custom value for big bounds.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1864&r2=1.1865
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.h?cvsroot=gnash&r1=1.28&r2=1.29

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1864
retrieving revision 1.1865
diff -u -b -r1.1864 -r1.1865
--- ChangeLog   6 Dec 2006 09:27:31 -0000       1.1864
+++ ChangeLog   6 Dec 2006 09:30:40 -0000       1.1865
@@ -1,5 +1,7 @@
 2006-12-06 Sandro Santilli <address@hidden>
 
+       * server/movie_root.h (get_invalidated_bounds): use rect::set_world()
+         rather then using a custom value for big bounds.
        * testsuite/MovieTester.{cpp,h}: add getInvalidatedBounds function.
        * libgeometry/Range2d.h (Intersect): removed spurious code.
        * server/rect.h: added getRange() method.

Index: server/movie_root.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- server/movie_root.h 5 Dec 2006 10:39:54 -0000       1.28
+++ server/movie_root.h 6 Dec 2006 09:30:40 -0000       1.29
@@ -14,7 +14,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: movie_root.h,v 1.28 2006/12/05 10:39:54 strk Exp $ */
+/* $Id: movie_root.h,v 1.29 2006/12/06 09:30:40 strk Exp $ */
 
 /// \page events_handling Handling of user events
 ///
@@ -335,8 +335,7 @@
                if (m_invalidated)
                {
                        // complete redraw (usually first frame)
-                       bounds->expand_to_point(-1e10f, -1e10f);
-                       bounds->expand_to_point(1e10f, 1e10f);
+                       bounds->set_world();
                }
                else
                {




reply via email to

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