From 70e647076418d114111aa76b5d3639a5b4271e94 Mon Sep 17 00:00:00 2001 From: Owl Date: Fri, 26 Sep 2025 14:32:34 -0400 Subject: bcsv and other stuff --- collada_superbmd_export.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'collada_superbmd_export.py') diff --git a/collada_superbmd_export.py b/collada_superbmd_export.py index 2f92fa3..e574dc4 100644 --- a/collada_superbmd_export.py +++ b/collada_superbmd_export.py @@ -30,7 +30,9 @@ def write_bmd_bdl_collada(context, filepath, triangulate): blender_funcs.select_obj(armature, False, "OBJECT") # check if the armature contains only mesh objects inside + # unhide all objects for child in armature.children: + child.hide = False if (child.type != "MESH"): blender_funcs.disp_msg("\"%s\": contains non-mesh object (%s)." % (armature.name, child.name)) return {"FINISHED"} @@ -164,7 +166,7 @@ def write_bmd_bdl_collada(context, filepath, triangulate): bpy.ops.wm.collada_export(filepath = filepath, use_blender_profile = False, selected = True, include_children = True, triangulate = triangulate) - + # delete the duplicate object blender_funcs.select_obj(armature, True, "OBJECT") bpy.ops.object.delete(use_global = False) -- cgit v1.2.3-70-g09d2