From ac77d5db19798c01baf44129f26709b7055849ea Mon Sep 17 00:00:00 2001 From: Joseph Davies Date: Wed, 29 Jun 2011 15:17:28 -0700 Subject: [PATCH] Fix rotation to match original clockwise direction. Cyan's resources were loaded into the array in reverse order, requiring the images to appear count-clockwise. This is no longer the case, as the array is now built in frame order. --- Sources/Plasma/Apps/plClient/external/render_svg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Plasma/Apps/plClient/external/render_svg.py b/Sources/Plasma/Apps/plClient/external/render_svg.py index bd85ca60..b8d103c5 100644 --- a/Sources/Plasma/Apps/plClient/external/render_svg.py +++ b/Sources/Plasma/Apps/plClient/external/render_svg.py @@ -125,7 +125,7 @@ def render_loading_books(inpath, outpath): enable_only_layers(["circles"],layers) svg = rsvg.Handle(data=bookSVG.toxml()) ctx.translate(resSize["height"] / 2, resSize["width"] / 2) - ctx.rotate(math.radians(angle*(-5))) + ctx.rotate(math.radians(angle*(5))) ctx.translate(-resSize["width"] / 2, -resSize["height"] / 2) ctx.scale(ratioW, ratioH) svg.render_cairo(ctx)