diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-13 16:11:10 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-13 16:11:10 +0300 |
commit | 97bd21860f110abb72e9f8ed8530bfe565470264 (patch) | |
tree | 21efe295c6b339b8f3d96abdaeaea88e20d96b87 | |
parent | 957442534ed02a68c1dd510aa7a9d6b2267b095d (diff) |
Fix T54412: backport fix already done in master (2.8) some time ago...
-rw-r--r-- | io_scene_fbx/import_fbx.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py index addb8ae6..a8185207 100644 --- a/io_scene_fbx/import_fbx.py +++ b/io_scene_fbx/import_fbx.py @@ -252,9 +252,9 @@ def elem_props_get_bool(elem, elem_prop_id, default=None): elem_prop = elem_props_find_first(elem, elem_prop_id) if elem_prop is not None: assert(elem_prop.props[0] == elem_prop_id) - assert(elem_prop.props[1] == b'bool') + # b'Bool' with a capital seems to be used for animated property... go figure... + assert(elem_prop.props[1] in {b'bool', b'Bool'}) assert(elem_prop.props[2] == b'') - assert(elem_prop.props[3] == b'') # we could allow other number types assert(elem_prop.props_type[4] == data_types.INT32) |