Skip to content
Snippets Groups Projects
Commit 7520b428 authored by Bastien Montagne's avatar Bastien Montagne Committed by Sergey Sharybin
Browse files

Fix T44131: FBX Export: During animation baking, code could try to set readonly properties.

parent 92571b9b
No related branches found
Tags v2.74-rc4
No related merge requests found
......@@ -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!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment