From 8cd85f26e942e526d7e6c8ac7918970632faf813 Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Sat, 17 Apr 2021 23:32:30 +0000 Subject: [PATCH] Separate blend and color arguments for ease of experimenting. --- bemani/format/afp/render.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bemani/format/afp/render.py b/bemani/format/afp/render.py index 94bfac4..85a8c9c 100644 --- a/bemani/format/afp/render.py +++ b/bemani/format/afp/render.py @@ -293,9 +293,12 @@ class AFPRenderer(VerboseOutput): # Not instantiable, don't render. return img - if params.flags & 0x4 or params.flags & 0x8: + if params.flags & 0x8: # TODO: Need to support blending and UV coordinate colors here. - print("WARNING: Unhandled shape blend or UV coordinate color!") + print(f"WARNING: Unhandled shape blend color {params.blend}") + if params.flags & 0x4: + # TODO: Need to support blending and UV coordinate colors here. + print("WARNING: Unhandled UV coordinate color!") texture = None if params.flags & 0x2: