From: kramm Date: Fri, 21 Jan 2005 17:49:41 +0000 (+0000) Subject: clipdepth is now always shown. X-Git-Tag: release-0-6-3~32 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=458c53f3b2fe6e6ae3f106084f536701a94dccbf clipdepth is now always shown. --- 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));