FBX IO: better default settings for anim curve preservation and pipeline integration #105172

Closed
Roland-Vyens wants to merge 1 commits from Roland-Vyens:fbx_fix_default_settings into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

View File

@ -127,7 +127,7 @@ class ImportFBX(bpy.types.Operator, ImportHelper):
anim_offset: FloatProperty( anim_offset: FloatProperty(
name="Animation Offset", name="Animation Offset",
description="Offset to apply to animation during import, in frames", description="Offset to apply to animation during import, in frames",
default=1.0, default=0.0,
) )
use_subsurf: BoolProperty( use_subsurf: BoolProperty(
@ -576,14 +576,14 @@ class ExportFBX(bpy.types.Operator, ExportHelper):
name="NLA Strips", name="NLA Strips",
description="Export each non-muted NLA strip as a separated FBX's AnimStack, if any, " description="Export each non-muted NLA strip as a separated FBX's AnimStack, if any, "
"instead of global scene animation", "instead of global scene animation",
default=True, default=False,
) )
bake_anim_use_all_actions: BoolProperty( bake_anim_use_all_actions: BoolProperty(
name="All Actions", name="All Actions",
description="Export each action as a separated FBX's AnimStack, instead of global scene animation " description="Export each action as a separated FBX's AnimStack, instead of global scene animation "
"(note that animated objects will get all actions compatible with them, " "(note that animated objects will get all actions compatible with them, "
"others will get no animation at all)", "others will get no animation at all)",
default=True, default=False,
) )
bake_anim_force_startend_keying: BoolProperty( bake_anim_force_startend_keying: BoolProperty(
name="Force Start/End Keying", name="Force Start/End Keying",
@ -602,7 +602,7 @@ class ExportFBX(bpy.types.Operator, ExportHelper):
description="How much to simplify baked values (0.0 to disable, the higher the more simplified)", description="How much to simplify baked values (0.0 to disable, the higher the more simplified)",
min=0.0, max=100.0, # No simplification to up to 10% of current magnitude tolerance. min=0.0, max=100.0, # No simplification to up to 10% of current magnitude tolerance.
soft_min=0.0, soft_max=10.0, soft_min=0.0, soft_max=10.0,
default=1.0, # default: min slope: 0.005, max frame step: 10. default=0.005, # default: min slope: 0.005, max frame step: 10.
) )
path_mode: path_reference_mode path_mode: path_reference_mode
embed_textures: BoolProperty( embed_textures: BoolProperty(