diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-03-26 10:40:49 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-03-26 10:40:49 +0300 |
commit | 94aa8ae3a2433f0fe0fcf81ae1b3c98df980bbc8 (patch) | |
tree | 26fd2f19f01bc15d2aa82d89e489e059d77dfb9b /io_scene_fbx | |
parent | 026f3654b9a3257a24f9040d9952a8a4db2cb842 (diff) |
Fix T44131: FBX Export: During animation baking, code could try to set readonly properties.
Diffstat (limited to 'io_scene_fbx')
-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 57fc4de1..00d1f3c3 100644 --- a/io_scene_fbx/export_fbx_bin.py +++ b/io_scene_fbx/export_fbx_bin.py @@ -2000,7 +2000,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! |