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>2014-08-14 19:28:23 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-08-14 19:56:11 +0400
commit3691bf0026f841bf5d69d463d03d8d332a9f5667 (patch)
treee63df291becf7bff598a35199608801b289a1bc7 /io_scene_fbx/fbx_utils.py
parent5a90576d30a0d24283fa97d905e511b35b119735 (diff)
FBX export: Add empties to list of 'bakeable' object types (since in that precise case
orientation of empty itself does not really count, as long as children are OK).
Diffstat (limited to 'io_scene_fbx/fbx_utils.py')
-rw-r--r--io_scene_fbx/fbx_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py
index e37c938d..d661cea2 100644
--- a/io_scene_fbx/fbx_utils.py
+++ b/io_scene_fbx/fbx_utils.py
@@ -927,7 +927,7 @@ class ObjectWrapper(metaclass=MetaObjectWrapper):
# NOTE: Only applies to object types supporting this!!! Currently, only meshes and the like...
# TODO: Check whether this can work for bones too...
return (scene_data.settings.bake_space_transform and self._tag in {'OB', 'DP'} and
- self.bdata.type in BLENDER_OBJECT_TYPES_MESHLIKE)
+ self.bdata.type in BLENDER_OBJECT_TYPES_MESHLIKE | {'EMPTY'})
def fbx_object_matrix(self, scene_data, rest=False, local_space=False, global_space=False):
"""