diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-03-26 10:40:49 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-03-26 14:20:11 +0300 |
commit | 7520b428053fd0362285e0b91a72e8e4f720af5a (patch) | |
tree | a9803a1ec285c7b4facfbaeb31d29dde7915d7d4 | |
parent | 92571b9b714b880297be75f4936c1677e8c1afb2 (diff) |
Fix T44131: FBX Export: During animation baking, code could try to set readonly properties.v2.74-rc4
-rw-r--r-- | io_scene_fbx/export_fbx_bin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py index a5bae512..d8e7cd1b 100644 --- a/io_scene_fbx/export_fbx_bin.py +++ b/io_scene_fbx/export_fbx_bin.py @@ -1997,7 +1997,8 @@ def fbx_animations(scene_data): 'show_only_shape_key', 'use_shape_key_edit_mode', 'active_shape_key_index', ) for p in props: - setattr(ob_to, p, getattr(ob_from, p)) + if not ob_to.is_property_readonly(p): + setattr(ob_to, p, getattr(ob_from, p)) for ob_obj in scene_data.objects: # Actions only for objects, not bones! |