diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-11-25 19:17:55 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-11-25 19:17:55 +0300 |
commit | 8f659b019d9093310b7ca6135962ef4409f0c34e (patch) | |
tree | ba85946ed2efd65dc47c1c5cc5698abc1d6cfe8f /io_scene_fbx/parse_fbx.py | |
parent | ddd71089e9f1880ed00271f6aac9980ef2c5cf27 (diff) |
Fix T50101: FBX Import only works once per session.
Diffstat (limited to 'io_scene_fbx/parse_fbx.py')
-rw-r--r-- | io_scene_fbx/parse_fbx.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/io_scene_fbx/parse_fbx.py b/io_scene_fbx/parse_fbx.py index ac5d3c39..634c4d93 100644 --- a/io_scene_fbx/parse_fbx.py +++ b/io_scene_fbx/parse_fbx.py @@ -108,8 +108,9 @@ read_data_dict = { def init_version(fbx_version): global _BLOCK_SENTINEL_LENGTH, _BLOCK_SENTINEL_DATA, read_fbx_elem_uint - assert(_BLOCK_SENTINEL_LENGTH == ...) - assert(_BLOCK_SENTINEL_DATA == ...) + _BLOCK_SENTINEL_LENGTH = ... + _BLOCK_SENTINEL_DATA = ... + read_fbx_elem_uint = ... if fbx_version < 7500: _BLOCK_SENTINEL_LENGTH = 13 |