From: kramm Date: Sun, 12 Dec 2004 12:11:40 +0000 (+0000) Subject: fixed non-(0,0) movie bbox bug. X-Git-Tag: release-0-6-3~100 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=60a5f860ff33fd8372e297818edda3992bfe3f9e;p=swftools.git fixed non-(0,0) movie bbox bug. --- diff --git a/lib/modules/swfrender.c b/lib/modules/swfrender.c index ad372cc..7775681 100644 --- a/lib/modules/swfrender.c +++ b/lib/modules/swfrender.c @@ -410,14 +410,14 @@ void swf_RenderShape(RENDERBUF*dest, SHAPE2*shape, MATRIX*m, CXFORM*c, U16 _dept important for texture and gradient fill */ for(t=0;tnumfillstyles;t++) { MATRIX nm; - swf_MatrixJoin(&nm, &s2->fillstyles[t].m, m); //TODO: is this the right order? + swf_MatrixJoin(&nm, &s2->fillstyles[t].m, &mat); //TODO: is this the right order? nm.sx *= i->multiply; nm.sy *= i->multiply; nm.r0 *= i->multiply; nm.r1 *= i->multiply; nm.tx *= i->multiply; nm.ty *= i->multiply; - s2->fillstyles[t].m = nm; + s2->fillstyles[t].m = nm; //!!!!!!!!!!!!!!!! } /* add this shape to the global shape list, for deallocing */