From 03381ee8ca83c274933aec39b30cac23f2f1dfe5 Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Fri, 21 May 2021 21:32:19 +0000 Subject: [PATCH] Fix double-applying base transform to the root clip. --- bemani/format/afp/render.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bemani/format/afp/render.py b/bemani/format/afp/render.py index c00a4ad..16c21a0 100644 --- a/bemani/format/afp/render.py +++ b/bemani/format/afp/render.py @@ -670,7 +670,7 @@ class AFPRenderer(VerboseOutput): -1, -1, Point.identity(), - movie_transform, + Matrix.identity(), Color(1.0, 1.0, 1.0, 1.0), Color(0.0, 0.0, 0.0, 0.0), 0, @@ -697,7 +697,7 @@ class AFPRenderer(VerboseOutput): # get the layering correct, but its important to preserve the original # insertion order for delete requests. curimage = Image.new("RGBA", actual_size, color=color.as_tuple()) - curimage = self.__render_object(curimage, root_clip, root_clip.transform, only_depths=only_depths) + curimage = self.__render_object(curimage, root_clip, movie_transform, only_depths=only_depths) else: # Nothing changed, make a copy of the previous render. self.vprint(" Using previous frame render")