1
0
mirror of synced 2024-12-01 00:57:18 +01:00

Separate blend and color arguments for ease of experimenting.

This commit is contained in:
Jennifer Taylor 2021-04-17 23:32:30 +00:00
parent ebc86019ae
commit 8cd85f26e9

View File

@ -293,9 +293,12 @@ class AFPRenderer(VerboseOutput):
# Not instantiable, don't render. # Not instantiable, don't render.
return img return img
if params.flags & 0x4 or params.flags & 0x8: if params.flags & 0x8:
# TODO: Need to support blending and UV coordinate colors here. # 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 texture = None
if params.flags & 0x2: if params.flags & 0x2: