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:
authorBastien Montagne <montagne29@wanadoo.fr>2014-04-02 21:57:10 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-04-02 21:57:10 +0400
commit8edb6704c83ea603c41125ba7311cd3599a397d8 (patch)
tree069a25cafc8ba5837ec7f002fb1feb775a5d95a7 /io_scene_fbx/json2fbx.py
parente6d801bfe750acc38e9791263686ea2b4a02379a (diff)
FBX: More small fixes.
Diffstat (limited to 'io_scene_fbx/json2fbx.py')
-rwxr-xr-xio_scene_fbx/json2fbx.py3
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)