[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnash-commit
Subject:    [Gnash-commit] /srv/bzr/gnash/trunk r9874: Test: matrix caches not
From:       Sandro Santilli <strk () keybit ! net>
Date:       2008-09-30 7:13:45
Message-ID: E1KkaA9-0008K0-VC () sv ! gnu ! org
[Download RAW message or body]

------------------------------------------------------------
revno: 9874
committer: Sandro Santilli <strk@keybit.net>
branch nick: trunk
timestamp: Tue 2008-09-30 09:13:45 +0200
message:
  Test: matrix caches not updated assigning Matrix to Transform
modified:
  testsuite/actionscript.all/Transform.as

["r9874.diff" (r9874.diff)]

=== modified file 'testsuite/actionscript.all/Transform.as'
--- a/testsuite/actionscript.all/Transform.as	2008-09-25 14:26:24 +0000
+++ b/testsuite/actionscript.all/Transform.as	2008-09-30 07:13:45 +0000
@@ -164,11 +164,18 @@
 check_equals(mc2.transform.matrix.toString(), trans.matrix.toString());
 check_equals(mat.toString(), "(a=1, b=0, c=0, d=1, tx=0, ty=0)");
 
+check_equals(mc2._xscale, 100);
+check_equals(mc2._yscale, 100);
+check_equals(mc2._rotation, 1.5);
 trans.matrix = new Matrix(2, 0, 0, 2, 10, 11);
 
 check_equals(trans.matrix.toString(), "(a=2, b=0, c=0, d=2, tx=10, ty=11)");
 check_equals(mc2.transform.matrix.toString(), "(a=2, b=0, c=0, d=2, tx=10, ty=11)");
 
+check_equals(mc2._xscale, 100);
+check_equals(mc2._yscale, 100);
+check_equals(mc2._rotation, 1.5);
+
 delete mc2;
 
 check_equals(mc2.transform.matrix.toString(), undefined);
@@ -203,5 +210,5 @@
 xcheck_equals(mcOld.transform.matrix.toString(), "(a=4, b=0.300000011920929, \
c=0.300000011920929, d=1, tx=1, ty=0)");  
 
-totals(64);
+totals(70);
 #endif



_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic