Skip to content
Snippets Groups Projects
Commit f2c79ec3 authored by Sebastian Nell's avatar Sebastian Nell
Browse files

3ds export addon: Correct own mistake from previous commit, accidentally...

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.
parent d7df4042
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
# <pep8 compliant>
# Script copyright (C) Bob Holcomb
# Contributors: Campbell Barton, Bob Holcomb, Richard Lrkng, 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment