-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Skeleton/armatures won't get exported with FBX.
To Reproduce
Steps to reproduce the behavior:
- Create a skeletal mesh export collection with an armature
- Export it
- It won't have a skeleton
Expected behavior
Export should contain the skeleton.
Device:
- OS: Windows 10
- Blender Version: 2.91
Additional context
I suspect the export settings is at fault:
def export_fbx(filepath):
"""Export an FBX with standardized settings."""
return bpy.ops.export_scene.fbx(
filepath=filepath,
check_existing=False,
use_selection=True,
global_scale=1.0,
apply_unit_scale=True,
apply_scale_options='FBX_SCALE_NONE',
bake_space_transform=True,
object_types={'EMPTY', 'MESH', 'OTHER'}, # <-- Shouldn't this contain 'ARMATURE' as well?
use_armature_deform_only=True,
mesh_smooth_type='FACE',
add_leaf_bones=False,
embed_textures=False,
axis_forward='-Z',
axis_up='Y',
)I'll have a fix for this in my fork if this is in fact a bug.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working