From 7520b428053fd0362285e0b91a72e8e4f720af5a Mon Sep 17 00:00:00 2001 From: Bastien Montagne <montagne29@wanadoo.fr> Date: Thu, 26 Mar 2015 08:40:49 +0100 Subject: [PATCH] Fix T44131: FBX Export: During animation baking, code could try to set readonly properties. --- io_scene_fbx/export_fbx_bin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py index a5bae5127..d8e7cd1b4 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! -- GitLab