diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-26 22:25:50 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-26 22:25:50 +0300 |
commit | 58a098ef8be9af602de5d4b973f6076c3d517b56 (patch) | |
tree | 64491b8fd7a6602824bf2bba6d75d858eb89c1b4 /io_scene_fbx/__init__.py | |
parent | 4c4d14124953a4b70aa268ba1286468cfa4bb520 (diff) |
Fix T45913: FBX Import: Add option to not import animations.
Can be handy sometimes, especialy with files which should not be animated and yet contain animdata...
Diffstat (limited to 'io_scene_fbx/__init__.py')
-rw-r--r-- | io_scene_fbx/__init__.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py index 36a774c9..6a40522f 100644 --- a/io_scene_fbx/__init__.py +++ b/io_scene_fbx/__init__.py @@ -21,7 +21,7 @@ bl_info = { "name": "FBX format", "author": "Campbell Barton, Bastien Montagne, Jens Restemeier", - "version": (3, 6, 1), + "version": (3, 6, 2), "blender": (2, 74, 0), "location": "File > Import-Export", "description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions", @@ -122,6 +122,11 @@ class ImportFBX(bpy.types.Operator, ImportHelper, IOFBXOrientationHelper): default=0.0, ) + use_anim = BoolProperty( + name="Import Animation", + description="Import FBX animation", + default=True, + ) anim_offset = FloatProperty( name="Animation Offset", description="Offset to apply to animation during import, in frames", @@ -199,6 +204,7 @@ class ImportFBX(bpy.types.Operator, ImportHelper, IOFBXOrientationHelper): layout.prop(self, "use_custom_normals") + layout.prop(self, "use_anim") layout.prop(self, "anim_offset") layout.prop(self, "use_custom_props") |