Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragorn421 committed Jan 25, 2024
1 parent eff2838 commit 9eb03ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fast64_internal/f3d/f3d_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,11 @@ def saveStaticModel(
faces_by_mat[face.material_index].append(face)

# sort by material slot
faces_by_mat = {mat_index: faces_by_mat[mat_index] for mat_index, _ in enumerate(obj.material_slots) if mat_index in faces_by_mat}
faces_by_mat = {
mat_index: faces_by_mat[mat_index]
for mat_index, _ in enumerate(obj.material_slots)
if mat_index in faces_by_mat
}

fMeshes = {}
for material_index, faces in faces_by_mat.items():
Expand Down

0 comments on commit 9eb03ab

Please sign in to comment.