CVSROOT: /cvsroot/gnash
Module name: gnash
Changes by: Udo Giacomozzi <udog> 07/02/22 17:20:49
Modified files:
. : ChangeLog
server : sprite_instance.cpp
Log message:
Respect m_old_invalidated_bounds even when invisible.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2438&r2=1.2439
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.178&r2=1.179
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.2438
retrieving revision 1.2439
diff -u -b -r1.2438 -r1.2439
--- ChangeLog 22 Feb 2007 16:38:55 -0000 1.2438
+++ ChangeLog 22 Feb 2007 17:20:49 -0000 1.2439
@@ -1,3 +1,8 @@
+2007-02-22 Udo Giacomozzi <[EMAIL PROTECTED]>
+
+ * server/sprite_instance.cpp: Respect m_old_invalidated_bounds even
+ when invisible.
+
2007-02-22 Sandro Santilli <[EMAIL PROTECTED]>
* libbase/curl_adapter.cpp:
Index: server/sprite_instance.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -b -r1.178 -r1.179
--- server/sprite_instance.cpp 21 Feb 2007 17:22:51 -0000 1.178
+++ server/sprite_instance.cpp 22 Feb 2007 17:20:49 -0000 1.179
@@ -442,7 +442,6 @@
// Convert to 0-based
size_t target_frame = size_t(fn.arg(0).to_number() - 1);
-
sprite->goto_frame(target_frame);
sprite->set_play_state(sprite_instance::PLAY);
}
@@ -3550,8 +3549,9 @@
if (!m_visible)
{
#ifdef DEBUG_INVALIDATED_BOUNDS
- log_msg("Not visible, bounds untouched");
+ log_msg("Not visible, use old invalidated bounds only");
#endif
+ bounds->expand_to_rect(m_old_invalidated_bounds); // (in case we just
hided)
return;
}
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit