CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/02/12 14:57:23
Modified files:
server : sprite_instance.cpp
Log message:
add debugging line in ::construct
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.157&r2=1.158
Patches:
Index: sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -b -r1.157 -r1.158
--- sprite_instance.cpp 12 Feb 2007 14:18:42 -0000 1.157
+++ sprite_instance.cpp 12 Feb 2007 14:57:23 -0000 1.158
@@ -73,6 +73,9 @@
// and failign with the previous.
//
//#define OLD_GET_MEMBER
+//
+
+//#define GNASH_DEBUG 1
// Forward declarations
static as_object* getMovieClipInterface();
@@ -3389,6 +3392,10 @@
void
sprite_instance::construct()
{
+#ifdef GNASH_DEBUG
+ log_msg("Constructing sprite '%s'", getTargetPath().c_str());
+#endif
+
on_event(event_id::CONSTRUCT);
execute_frame_tags(0, TAG_DLIST|TAG_ACTION);
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit