[Bf-extensions-cvs] [1982bab] master: FBX export: Fix exporting without animation.
Bastien Montagne
noreply at git.blender.org
Sun May 4 17:16:47 CEST 2014
Commit: 1982bab4da0ffa180a1a30735590414f8331bf85
Author: Bastien Montagne
Date: Sun May 4 17:09:50 2014 +0200
https://developer.blender.org/rBA1982bab4da0ffa180a1a30735590414f8331bf85
FBX export: Fix exporting without animation.
===================================================================
M io_scene_fbx/export_fbx_bin.py
===================================================================
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index 0b420f8..5c0f687 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -2455,6 +2455,8 @@ def fbx_data_from_scene(scene, settings):
# Animation...
animations = ()
+ frame_start = scene.frame_start
+ frame_end = scene.frame_end
if settings.bake_anim:
# From objects & bones only for a start.
tmp_scdata = FBXData( # Kind of hack, we need a temp scene_data for object's space handling to bake animations...
@@ -2465,6 +2467,7 @@ def fbx_data_from_scene(scene, settings):
data_world, data_materials, data_textures, data_videos,
)
animations, frame_start, frame_end = fbx_animations_objects(tmp_scdata)
+
##### Creation of templates...
More information about the Bf-extensions-cvs
mailing list