[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3602] trunk/py/scripts/addons/ io_scene_3ds/export_3ds.py: 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.

Sebastian Nell codemanx at gmx.de
Mon Jul 9 20:47:55 CEST 2012


Revision: 3602
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3602
Author:   codemanx
Date:     2012-07-09 18:47:55 +0000 (Mon, 09 Jul 2012)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/py/scripts/addons/io_scene_3ds/export_3ds.py

Modified: trunk/py/scripts/addons/io_scene_3ds/export_3ds.py
===================================================================
--- trunk/py/scripts/addons/io_scene_3ds/export_3ds.py	2012-07-09 17:16:33 UTC (rev 3601)
+++ trunk/py/scripts/addons/io_scene_3ds/export_3ds.py	2012-07-09 18:47:55 UTC (rev 3602)
@@ -19,7 +19,7 @@
 # <pep8 compliant>
 
 # Script copyright (C) Bob Holcomb
-# Contributors: Campbell Barton, Bob Holcomb, Richard L\xE4rk\xE4ng, 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 @@
     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 @@
 
         if not blender_mesh.users:
             bpy.data.meshes.remove(blender_mesh)
-                #blender_mesh.vertices = None
+        #blender_mesh.vertices = None
 
         i += i
 



More information about the Bf-extensions-cvs mailing list