diff options
author | Owl <isaclien9752@gmail.com> | 2025-09-26 14:32:34 -0400 |
---|---|---|
committer | Owl <isaclien9752@gmail.com> | 2025-09-26 14:32:34 -0400 |
commit | 70e647076418d114111aa76b5d3639a5b4271e94 (patch) | |
tree | 2e67e3c523818c7628497ff2f6e9e5c9645814d2 /collada_superbmd_export.py | |
parent | 45dc6171705fd074657b0ed5bde2502431b74c4b (diff) | |
download | blenxy-70e647076418d114111aa76b5d3639a5b4271e94.tar.gz blenxy-70e647076418d114111aa76b5d3639a5b4271e94.zip |
bcsv and other stuff
Diffstat (limited to 'collada_superbmd_export.py')
-rw-r--r-- | collada_superbmd_export.py | 4 |
1 files changed, 3 insertions, 1 deletions
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) |