Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion fast64_internal/z64/model_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,14 @@ def onMaterialCommandsBuilt(self, fMaterial, material, drawLayer):

for i in range(8, 14):
if getattr(matDrawLayer, f"segment{i:X}"):
is_animated_material = False

if self.draw_config is not None and "mat_anim" in self.draw_config:
is_animated_material = True

gfxList.commands.append(
DynamicMaterialDL(
GfxList(f"0x0{i:X}000000", GfxListTag.Material, DLFormat.Static), "mat_anim" in self.draw_config
GfxList(f"0x0{i:X}000000", GfxListTag.Material, DLFormat.Static), is_animated_material
)
)

Expand Down