From d1b28f3bee1cde517ce0b4cd56ffde30063dc945 Mon Sep 17 00:00:00 2001 From: Lilaa3 <87947656+Lilaa3@users.noreply.github.com> Date: Mon, 8 Jan 2024 14:34:47 +0000 Subject: [PATCH] ok ok fine i will turn on format on save --- fast64_internal/f3d/f3d_gbi.py | 2 +- fast64_internal/f3d/f3d_writer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fast64_internal/f3d/f3d_gbi.py b/fast64_internal/f3d/f3d_gbi.py index d40063284..f22dbfd56 100644 --- a/fast64_internal/f3d/f3d_gbi.py +++ b/fast64_internal/f3d/f3d_gbi.py @@ -4012,7 +4012,7 @@ class SPLightColor(GbiMacro): col: Sequence[int] def color_to_int(self): - return self.col[0]*0x1000000 + self.col[1]*0x10000 + self.col[2]*0x100 + 0xFF + return self.col[0] * 0x1000000 + self.col[1] * 0x10000 + self.col[2] * 0x100 + 0xFF def to_binary(self, f3d, segments): return gsMoveWd(f3d.G_MW_LIGHTCOL, f3d.getLightMWO_a(self.n), self.color_to_int(), f3d) + gsMoveWd( diff --git a/fast64_internal/f3d/f3d_writer.py b/fast64_internal/f3d/f3d_writer.py index 0a175ff91..37399d441 100644 --- a/fast64_internal/f3d/f3d_writer.py +++ b/fast64_internal/f3d/f3d_writer.py @@ -1448,7 +1448,7 @@ def saveOrGetF3DMaterial(material, fModel, obj, drawLayer, convertTextureData): return fMaterial, texDimensions -def getLightDefinitions(fModel, material, lightsName = ""): +def getLightDefinitions(fModel, material, lightsName=""): lights = Lights(toAlnum(lightsName), fModel.f3d) if material.use_default_lighting: