On Wed, Oct 11, 2006 at 05:30:28PM +0200, Udo Giacomozzi wrote: > Hello strk, > > Wednesday, October 11, 2006, 5:12:59 PM, you wrote: > s> So the version in generic_character.h is wrong ? > s> (check the get_world_matrix call) > > Yep. > Attached a test movie. > > Flash output: > _level0.instance1.subsub height = 116 > _level0.instance2.subsub height = 116 > > Gnash output: > 17:27:16: <as_object 0x8059268> height = 116 > 17:27:16: <as_object 0x805b578> height = 17.235889434814 > > instance1 and instance2 (rectangles) share the same character > definition, but instance2 has been transformed to be smaller. > "subsub" is the circle inside the rectangle.
Ok, good. Can you fix that and document the requirement in server/character.h above the appropriate functions ? About the comments I was referring to, it seems I was wrong, the comments are in _xscale and _yscale fetch in sprite_instance.cpp. The same of course applies there (ie: should we return a "local" scale or a "global" scale?) Also, it would be nice to have the code in the switch case simply call a separate ::get_x_scale() and ::get_y_scale() function instead (it's useful to have a separate function for use by the new MovieTester class to inspect a playing movie from outside). --strk; _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

