[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2007] trunk/py/scripts/addons/ io_coat3D/tex.py: Normals was inverted.
Kalle-Samuli Riihikoski
haikalle at gmail.com
Tue Jun 7 00:24:15 CEST 2011
Revision: 2007
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2007
Author: haikalle
Date: 2011-06-06 22:24:14 +0000 (Mon, 06 Jun 2011)
Log Message:
-----------
Normals was inverted. Fixed.
Modified Paths:
--------------
trunk/py/scripts/addons/io_coat3D/tex.py
Modified: trunk/py/scripts/addons/io_coat3D/tex.py
===================================================================
--- trunk/py/scripts/addons/io_coat3D/tex.py 2011-06-06 21:59:08 UTC (rev 2006)
+++ trunk/py/scripts/addons/io_coat3D/tex.py 2011-06-06 22:24:14 UTC (rev 2007)
@@ -223,7 +223,7 @@
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 @@
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']):
More information about the Bf-extensions-cvs
mailing list