Skip to content

Commit

Permalink
Some f3d parser cleanup (#276)
Browse files Browse the repository at this point in the history
* Some F3D parser cleanup

* fix clip_ratio being set on the wrong object

* add FIXME comments on possibly extra argument to call

* black
  • Loading branch information
Dragorn421 authored Feb 27, 2024
1 parent 3d6f730 commit d30239f
Show file tree
Hide file tree
Showing 4 changed files with 148 additions and 153 deletions.
6 changes: 0 additions & 6 deletions fast64_internal/f3d/f3d_gbi.py
Original file line number Diff line number Diff line change
Expand Up @@ -3046,12 +3046,6 @@ def getSetTileSizeScrollData(self, material):
self.scrollData.tile_scroll_tex1.t = tex1.tile_scroll.t
self.scrollData.tile_scroll_tex1.interval = tex1.tile_scroll.interval

def sets_rendermode(self):
for command in self.material.commands:
if isinstance(command, DPSetRenderMode):
return True
return False

def get_ptr_addresses(self, f3d):
addresses = self.material.get_ptr_addresses(f3d)
if self.revert is not None and self.revert.tag.Export:
Expand Down
Loading

0 comments on commit d30239f

Please sign in to comment.