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-07 01:35:09 +0400
committerKalle-Samuli Riihikoski <haikalle@gmail.com>2011-06-07 01:35:09 +0400
commit8d8a0034807e1f8f05fd3913b2fb3f2a5ac1a53c (patch)
treef2055ff5291ff6edc43ba525898553f76f4d8bdb /io_coat3D/tex.py
parent63315d80a724f294b1f42129ca66178a7fbf29cd (diff)
Update the script to work with latest trunk. Still some bugs when "remember position" = On, but much better than before.
Diffstat (limited to 'io_coat3D/tex.py')
-rw-r--r--io_coat3D/tex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py
index fd1792f2..14e26508 100644
--- a/io_coat3D/tex.py
+++ b/io_coat3D/tex.py
@@ -223,7 +223,7 @@ def gettex(mat_list, objekti, scene,export):
else:
bpy.data.textures[name_tex].use_normal_map = True
objekti.active_material.texture_slots[index].normal_map_space = 'TANGENT'
- objekti.active_material.texture_slots[index].normal_factor = -1
+ objekti.active_material.texture_slots[index].normal_factor = 1
@@ -236,7 +236,7 @@ def gettex(mat_list, objekti, scene,export):
objekti.active_material.texture_slots[index].uv_layer = objekti.data.uv_textures.active.name
objekti.active_material.texture_slots[index].use_map_color_diffuse = False
objekti.active_material.texture_slots[index].use_map_normal = True
- objekti.active_material.texture_slots[index].normal_factor = -1
+ objekti.active_material.texture_slots[index].normal_factor = 1
if(bring_spec == 1 and texcoat['specular']):