diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-09-22 17:55:38 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-09-22 17:55:38 +0300 |
commit | 80cfaeca0954b51d950a5cb27312768a7a99af50 (patch) | |
tree | 712437102dbb500e1d91d65c23be6eba780e1809 /io_scene_fbx/parse_fbx.py | |
parent | 4ed120fafb157aeeb9fbdb072a0e75375d658e24 (diff) |
Fix T49412: We do not support FBX 7500 and above, at least properly report it to users.
Those ... people? at AD changed the whole format on binary level it'd seem, even low-level,
binary parsing is broken with those files, nothing else to do but go back to
binary hacking/inspection of new files if we want to support them... will let that
to someone else, FBX has successfully exhausted my patience since years already,
even all the backup emergency reserves I had.
Diffstat (limited to 'io_scene_fbx/parse_fbx.py')
-rw-r--r-- | io_scene_fbx/parse_fbx.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/io_scene_fbx/parse_fbx.py b/io_scene_fbx/parse_fbx.py index 87f8624f..220d88e0 100644 --- a/io_scene_fbx/parse_fbx.py +++ b/io_scene_fbx/parse_fbx.py @@ -159,6 +159,8 @@ def parse(fn, use_namedtuple=True): raise IOError("Invalid header") fbx_version = read_uint(read) + if fbx_version >= 7500: + raise IOError("Unsupported FBX version (%d), binary format is incompatible!" % fbx_version) while True: elem = read_elem(read, tell, use_namedtuple) |