From f2c79ec35dc8bf9834fadc8274a48b04d23a0173 Mon Sep 17 00:00:00 2001
From: Sebastian Nell <codemanx@gmx.de>
Date: Mon, 9 Jul 2012 18:47:55 +0000
Subject: [PATCH] 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.

---
 io_scene_3ds/export_3ds.py | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/io_scene_3ds/export_3ds.py b/io_scene_3ds/export_3ds.py
index 75687dd11..765d5de33 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
 
-- 
GitLab