diff options
author | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2011-06-07 01:35:09 +0400 |
---|---|---|
committer | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2011-06-07 01:35:09 +0400 |
commit | 8d8a0034807e1f8f05fd3913b2fb3f2a5ac1a53c (patch) | |
tree | f2055ff5291ff6edc43ba525898553f76f4d8bdb /io_coat3D/tex.py | |
parent | 63315d80a724f294b1f42129ca66178a7fbf29cd (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.py | 4 |
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']): |