From: kramm Date: Sun, 4 Nov 2001 16:59:56 +0000 (+0000) Subject: removed unneccessary placeobject tag X-Git-Tag: release-0-1-1~17 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=af8c85b9336c4a64f75499e7546557fbfe3e9cf9 removed unneccessary placeobject tag --- diff --git a/pdf2swf/swfoutput.cc b/pdf2swf/swfoutput.cc index 44db4bd..ccc4c1b 100644 --- a/pdf2swf/swfoutput.cc +++ b/pdf2swf/swfoutput.cc @@ -1131,9 +1131,6 @@ void drawlink(struct swfoutput*obj, ActionTAG*actions, swfcoord*points) lineto(tag, p1); swf_ShapeSetEnd(tag); - tag = swf_InsertTag(tag,ST_PLACEOBJECT2); - swf_ObjectPlace(tag, buttonid, depth ++, 0,0,0); - tag = swf_InsertTag(tag,ST_DEFINEBUTTON); swf_SetU16(tag,buttonid); //id swf_ButtonSetFlags(tag, 0); //menu=no @@ -1144,7 +1141,7 @@ void drawlink(struct swfoutput*obj, ActionTAG*actions, swfcoord*points) swf_SetU8(tag,0); swf_SetActions(tag,actions); swf_SetU8(tag,0); - + tag = swf_InsertTag(tag,ST_PLACEOBJECT2); swf_ObjectPlace(tag, buttonid, depth++,0,0,0); }