mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 10:37:41 -04:00
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.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user