Fix T50101: FBX Import only works once per session.

This commit is contained in:
Bastien Montagne 2016-11-25 17:17:55 +01:00
parent ddd71089e9
commit 8f659b019d
Notes: blender-bot 2023-02-14 19:43:14 +01:00
Referenced by issue #50101, FBX Import only works once per session
1 changed files with 3 additions and 2 deletions

View File

@ -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