Skip to content

Commit

Permalink
Check bungie material flag if name override is used
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Garcia committed Feb 21, 2024
1 parent 18fbb75 commit 85569aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions io_scene_halo/file_ass/build_scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ def build_scene(context, filepath, report):

set_ass_material_properties(ass_mat, mat)
mat.ass_jms.name_override = ass_mat.asset_name
if len(mat.ass_jms.name_override) > 0:
mat.ass_jms.is_bm = True

mat.diffuse_color = random_color_gen.next()

for ass_object in ASS.objects:
Expand Down

0 comments on commit 85569aa

Please sign in to comment.