From 85569aa09040d5ba29e47e759463d4a680cbd3fe Mon Sep 17 00:00:00 2001 From: Steven Garcia Date: Wed, 21 Feb 2024 14:05:48 -0600 Subject: [PATCH] Check bungie material flag if name override is used --- io_scene_halo/file_ass/build_scene.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/io_scene_halo/file_ass/build_scene.py b/io_scene_halo/file_ass/build_scene.py index 7d11df2f5..2e6e0a9c5 100644 --- a/io_scene_halo/file_ass/build_scene.py +++ b/io_scene_halo/file_ass/build_scene.py @@ -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: