[Bf-extensions-cvs] [8f659b0] master: Fix T50101: FBX Import only works once per session.
Bastien Montagne
noreply at git.blender.org
Fri Nov 25 17:18:30 CET 2016
Commit: 8f659b019d9093310b7ca6135962ef4409f0c34e
Author: Bastien Montagne
Date: Fri Nov 25 17:17:55 2016 +0100
Branches: master
https://developer.blender.org/rBA8f659b019d9093310b7ca6135962ef4409f0c34e
Fix T50101: FBX Import only works once per session.
===================================================================
M io_scene_fbx/parse_fbx.py
===================================================================
diff --git a/io_scene_fbx/parse_fbx.py b/io_scene_fbx/parse_fbx.py
index ac5d3c3..634c4d9 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
More information about the Bf-extensions-cvs
mailing list