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:
authorSebastian Nell <codemanx@gmx.de>2012-07-09 22:47:55 +0400
committerSebastian Nell <codemanx@gmx.de>2012-07-09 22:47:55 +0400
commitf2c79ec35dc8bf9834fadc8274a48b04d23a0173 (patch)
treef4af81ee351b16e106d15d3fe34c77bf6c2f4230 /io_scene_3ds
parentd7df404257a485c4a80bc06af4a7e6dfb88c2125 (diff)
3ds export addon: Correct own mistake from previous commit, accidentally turned file from utf8 into ascii, causing python error because of 2 non-ascii chars in credits.
Diffstat (limited to 'io_scene_3ds')
-rw-r--r--io_scene_3ds/export_3ds.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/io_scene_3ds/export_3ds.py b/io_scene_3ds/export_3ds.py
index 75687dd1..765d5de3 100644
--- a/io_scene_3ds/export_3ds.py
+++ b/io_scene_3ds/export_3ds.py
@@ -19,7 +19,7 @@
# <pep8 compliant>
# Script copyright (C) Bob Holcomb
-# Contributors: Campbell Barton, Bob Holcomb, Richard Lärkäng, Damien McGinnes, Mark Stijnman
+# Contributors: Campbell Barton, Bob Holcomb, Richard Lärkäng, Damien McGinnes, Mark Stijnman
"""
Exporting is based on 3ds loader from www.gametutorials.com(Thanks DigiBen) and using information
@@ -463,12 +463,10 @@ def make_material_subchunk(chunk_id, color):
col1 = _3ds_chunk(RGB1)
col1.add_variable("color1", _3ds_rgb_color(color))
mat_sub.add_subchunk(col1)
-
- """optional:
- col2 = _3ds_chunk(RGB1)
- col2.add_variable("color2", _3ds_rgb_color(color))
- mat_sub.add_subchunk(col2)
- """
+ # optional:
+ #col2 = _3ds_chunk(RGB1)
+ #col2.add_variable("color2", _3ds_rgb_color(color))
+ #mat_sub.add_subchunk(col2)
return mat_sub
@@ -1130,7 +1128,7 @@ def save(operator,
if not blender_mesh.users:
bpy.data.meshes.remove(blender_mesh)
- #blender_mesh.vertices = None
+ #blender_mesh.vertices = None
i += i