diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-04-02 21:57:10 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-04-02 21:57:10 +0400 |
commit | 8edb6704c83ea603c41125ba7311cd3599a397d8 (patch) | |
tree | 069a25cafc8ba5837ec7f002fb1feb775a5d95a7 /io_scene_fbx/json2fbx.py | |
parent | e6d801bfe750acc38e9791263686ea2b4a02379a (diff) |
FBX: More small fixes.
Diffstat (limited to 'io_scene_fbx/json2fbx.py')
-rwxr-xr-x | io_scene_fbx/json2fbx.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/io_scene_fbx/json2fbx.py b/io_scene_fbx/json2fbx.py index f979c429..7240da91 100755 --- a/io_scene_fbx/json2fbx.py +++ b/io_scene_fbx/json2fbx.py @@ -99,8 +99,7 @@ def parse_json_rec(fbx_root, json_node): d = eval('b"""' + d + '"""') e.add_bytes(d) elif dt == "S": - d = d.encode() - d.replace(b"::", b"\x00\x01") + d = d.encode().replace(b"::", b"\x00\x01") e.add_string(d) elif dt == "i": e.add_int32_array(d) |