Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilaa3 committed Oct 16, 2024
1 parent 86b75f3 commit 4d2a2d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fast64_internal/f3d/bsdf_converter/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,9 @@ def create_node(typ: T, name: str, location=False, x_offset=0, y_offset=0):

tex_x_offset = tex_y_offset = 0
texture_nodes = []
for abstracted_tex, tex_color_input, tex_alpha_input in zip(abstracted_mat.textures, tex_color_inputs, tex_alpha_inputs): # create textures
for abstracted_tex, tex_color_input, tex_alpha_input in zip(
abstracted_mat.textures, tex_color_inputs, tex_alpha_inputs
): # create textures
tex_node = create_node(ShaderNodeTexImage, "Texture", y_offset=tex_y_offset)
tex_node.image = abstracted_tex.tex
tex_node.extension = "REPEAT" if abstracted_tex.repeat else "EXTEND"
Expand Down

0 comments on commit 4d2a2d7

Please sign in to comment.