Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2016-11-25 19:17:55 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-11-25 19:17:55 +0300
commit8f659b019d9093310b7ca6135962ef4409f0c34e (patch)
treeba85946ed2efd65dc47c1c5cc5698abc1d6cfe8f /io_scene_fbx/parse_fbx.py
parentddd71089e9f1880ed00271f6aac9980ef2c5cf27 (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.py5
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