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:
authorKalle-Samuli Riihikoski <haikalle@gmail.com>2011-06-09 12:52:08 +0400
committerKalle-Samuli Riihikoski <haikalle@gmail.com>2011-06-09 12:52:08 +0400
commite72dca2851413901f142ec3dc359c0b3727ac10d (patch)
tree0d4129ace279b87c313de9d904d938b6006d5a14 /io_coat3D/tex.py
parent52ab7574530c227ecca903ca8ec59a7a00240c78 (diff)
-Removed extra print() lines
-Fixed Blender_export issue. Thanks to Perfection Cat providing the fix.
Diffstat (limited to 'io_coat3D/tex.py')
-rw-r--r--io_coat3D/tex.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py
index 92e5dc72..d4156e5d 100644
--- a/io_coat3D/tex.py
+++ b/io_coat3D/tex.py
@@ -164,7 +164,7 @@ def gettex(mat_list, objekti, scene,export):
bpy.ops.image.new(name=name_tex)
bpy.data.images[name_tex].filepath = texcoat['color'][0]
bpy.data.images[name_tex].source = 'FILE'
- print('name_tex: %s'%name_tex)
+
bpy.data.textures.new(name_tex,type='IMAGE')
@@ -179,10 +179,8 @@ def gettex(mat_list, objekti, scene,export):
elif(useold != ''):
- print('useold:%s'%useold)
-
+
objekti.active_material.texture_slots[index].texture = useold
- print(objekti.active_material)
objekti.active_material.texture_slots[index].texture.image.filepath = texcoat['color'][0]
if(objekti.data.uv_textures.active):
objekti.active_material.texture_slots[index].texture_coords = 'UV'