Skip to content

Commit

Permalink
ok ok fine i will turn on format on save
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilaa3 committed Jan 8, 2024
1 parent 785820c commit d1b28f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fast64_internal/f3d/f3d_gbi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion fast64_internal/f3d/f3d_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d1b28f3

Please sign in to comment.