From 458c53f3b2fe6e6ae3f106084f536701a94dccbf Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 21 Jan 2005 17:49:41 +0000 Subject: [PATCH] clipdepth is now always shown. --- src/swfdump.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/swfdump.c b/src/swfdump.c index c01a2b3..051b8a2 100644 --- a/src/swfdump.c +++ b/src/swfdump.c @@ -916,8 +916,16 @@ int main (int argc,char ** argv) printf(" object"); printf(" at depth %04d", swf_GetDepth(tag)); + + if(tag->data[0]&64) { + SWFPLACEOBJECT po; + swf_GetPlaceObject(tag, &po); + printf(" (clip to %04d)", po.clipdepth); + swf_PlaceObjectFree(&po); + } if(swf_GetName(tag)) printf(" name \"%s\"",swf_GetName(tag)); + } else if(tag->id == ST_REMOVEOBJECT) { printf(" removes id %04d from depth %04d", swf_GetPlaceID(tag), swf_GetDepth(tag)); -- 1.7.10.4