Skip to content
Snippets Groups Projects
Commit 017dcd6c authored by Candoran2's avatar Candoran2 Committed by neomonkeus
Browse files

Fixed name error of Facegen Detail Map property, causing it not to be...

Fixed name error of Facegen Detail Map property, causing it not to be exported. Added condition to not export normals when using a face tint (as done in face meshes).
parent c946eb4d
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ class Mesh: ...@@ -117,7 +117,7 @@ class Mesh:
mesh_hasnormals = False mesh_hasnormals = False
if b_mat is not None: if b_mat is not None:
mesh_hasnormals = True # for proper lighting mesh_hasnormals = True # for proper lighting
if (game == 'SKYRIM') and (b_mat.niftools_shader.bslsp_shaderobjtype == 'Skin Tint'): if (game == 'SKYRIM') and (b_mat.niftools_shader.bslsp_shaderobjtype in ('Skin Tint', 'Face Tint')):
mesh_hasnormals = False # for proper lighting mesh_hasnormals = False # for proper lighting
# create a trishape block # create a trishape block
......
...@@ -245,8 +245,8 @@ class ShaderProps(PropertyGroup): ...@@ -245,8 +245,8 @@ class ShaderProps(PropertyGroup):
name='Cast Shadows' name='Cast Shadows'
) )
slsf_1_facegen_detail: BoolProperty( slsf_1_facegen_detail_map: BoolProperty(
name='Facegen Detail' name='Facegen Detail Map'
) )
slsf_1_Parallax: BoolProperty( slsf_1_Parallax: BoolProperty(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment