Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion bms_blender_plugin/exporter/export_lods.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ def join_objects_with_same_materials(objects, materials_objects, auto_smooth_val
if obj.type == "MESH":
# regular meshes
# "do not merge" flag - just use a custom material name which will never be looked up
if obj.bml_do_not_merge:
# enhance this by including BBOXs in the do not merge category - Otherwise joined objects will not render
if obj.bml_do_not_merge or get_bml_type(obj) == BlenderNodeType.BBOX:
materials_objects[obj.name] = [obj]
continue

Expand Down