diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-10-24 21:48:45 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-10-24 21:48:45 +0300 |
commit | a49ccb062769dcf8703d2590b485e8c3a9f8a01b (patch) | |
tree | ed58d76d30aa38a2a6063efc98b4a65eb02a6ee9 /io_scene_fbx/fbx2json.py | |
parent | 22b54f61a1e50fd0beb5e87d2dd1a865ee8da9b7 (diff) |
FBX: enable import of 7500 (FBX2016) files.
Looks like only change here was that binary switch from uint32 to uint64
for some core metadata of the format. At leas, could import some 7500
files here with that mere change.
Thanks again @xchip (Raul Aguaviva) for finding the culprit in T49822!
Diffstat (limited to 'io_scene_fbx/fbx2json.py')
-rwxr-xr-x | io_scene_fbx/fbx2json.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/io_scene_fbx/fbx2json.py b/io_scene_fbx/fbx2json.py index c5e96a26..c5d47ade 100755 --- a/io_scene_fbx/fbx2json.py +++ b/io_scene_fbx/fbx2json.py @@ -88,9 +88,11 @@ del namedtuple def read_uint(read): return unpack(b'<I', read(4))[0] + def read_uint64(read): return unpack(b'<Q', read(8))[0] + def read_ubyte(read): return unpack(b'B', read(1))[0] |