Skip to content

Commit

Permalink
Fix imported ASS UVs as they were ass
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Garcia committed May 29, 2024
1 parent a578e32 commit 3973ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io_scene_halo/global_functions/mesh_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ def generate_mesh_retail(context, asset, object_vertices, object_triangles, obje
region_index = region_list.index(current_region_permutation)
region_attribute.data[triangle_idx].value = region_index + 1

vertex_list = [vertices[triangle.v0], vertices[triangle.v1], vertices[triangle.v2]]
vertex_list = [object_vertices[triangle.v0], object_vertices[triangle.v1], object_vertices[triangle.v2]]
for vertex_idx, vertex in enumerate(vertex_list):
loop_index = (3 * triangle_idx) + vertex_idx
for uv_idx, uv in enumerate(vertex.uv_set):
Expand Down

0 comments on commit 3973ae6

Please sign in to comment.