Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-06-26 20:07:47 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-06-26 20:07:47 +0300
commit8c41091be72ecbbf5b14d85b0c11a90dcc98db8b (patch)
treeae5426e7ef630b59c51b2ab59833736b4d881455 /io_scene_fbx/fbx_utils.py
parent1b1ad4665b852c1c52dcbdb0176cf2eb7f0d88f8 (diff)
FBX import: add a setting to define a custom animation offset value, in frames.
In theory, Blender's animations start at frame 1, while FBX ones start at t0, but looks like users need tweaking ability here too! ;)
Diffstat (limited to 'io_scene_fbx/fbx_utils.py')
-rw-r--r--io_scene_fbx/fbx_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py
index 1058150e..85b64e51 100644
--- a/io_scene_fbx/fbx_utils.py
+++ b/io_scene_fbx/fbx_utils.py
@@ -1225,6 +1225,7 @@ FBXImportSettings = namedtuple("FBXImportSettings", (
"bake_space_transform", "global_matrix_inv", "global_matrix_inv_transposed",
"use_cycles", "use_image_search",
"use_alpha_decals", "decal_offset",
+ "anim_offset",
"use_custom_props", "use_custom_props_enum_as_string",
"cycles_material_wrap_map", "image_cache",
"ignore_leaf_bones", "force_connect_children", "automatic_bone_orientation", "bone_correction_matrix",