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:
Diffstat (limited to 'io_scene_fbx/fbx2json.py')
-rwxr-xr-xio_scene_fbx/fbx2json.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/io_scene_fbx/fbx2json.py b/io_scene_fbx/fbx2json.py
index 68ceb5b2..21b0fcc7 100755
--- a/io_scene_fbx/fbx2json.py
+++ b/io_scene_fbx/fbx2json.py
@@ -198,6 +198,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)