Skip to content

Commit

Permalink
sauren nitpicks
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilaa3 committed Sep 16, 2024
1 parent 79a76db commit 0742dfd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fast64_internal/f3d/f3d_texture_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def fromProp(self, texProp: TextureProperty, index: int, ignore_tex_set=False) -
return True

def materialless_setup(self) -> None:
"""moreSetupFromModel equivelent that does not handle material properties like OOT flipbooks"""
"""moreSetupFromModel equivalent that does not handle material properties like OOT flipbooks"""
if not self.useTex:
return

Expand All @@ -485,7 +485,8 @@ def materialless_setup(self) -> None:
f"Error in Texture {self.indexInMat} uses too many unique colors to fit in format {self.texFormat}."
)
else:
self.imDependencies, self.flipbook = [] if self.texProp.tex is None else [self.texProp.tex], None
self.imDependencies = [] if self.texProp.tex is None else [self.texProp.tex]
self.flipbook = None

self.isPalRef = self.isTexRef and self.flipbook is None
self.palDependencies = self.imDependencies
Expand Down

0 comments on commit 0742dfd

Please sign in to comment.