diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-02-25 21:31:42 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-02-25 21:31:42 +0300 |
commit | 381c6e3125500c6bcdf005aca2873501696f62bd (patch) | |
tree | 2f77abfaeafa2409fa0f048e8d08dbb74f5cfbdc /io_scene_fbx | |
parent | 14cc8de77f01feab91b7ff00435e905b90dd1e18 (diff) |
Fix T43812: Not all blender objects have a 'library' member...
Diffstat (limited to 'io_scene_fbx')
-rw-r--r-- | io_scene_fbx/fbx_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py index 01a5520e..3175149f 100644 --- a/io_scene_fbx/fbx_utils.py +++ b/io_scene_fbx/fbx_utils.py @@ -285,7 +285,7 @@ def get_key_from_fbx_uuid(uuid): # Blender-specific key generators def get_bid_name(bid): - if bid.library is not None: + if getattr(bid, 'library', None) is not None: return "_L_".join((bid.name, bid.library.name)) return bid.name |