Skip to content

Commit 76401c1

Browse files
committed
Fix for Face presets for Material Editor.
1 parent a7bf7d1 commit 76401c1

File tree

1 file changed

+1
-1
lines changed
  • xivModdingFramework/Materials/DataContainers

1 file changed

+1
-1
lines changed

xivModdingFramework/Materials/DataContainers/XivMtrl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ private void RegenerateShaderParameterList(ShaderInfo info)
891891
args.Add(MtrlShaderParameterId.SkinTileMultiplier, null);
892892
}
893893

894-
if (info.Preset == MtrlShaderPreset.Face && info.Preset == MtrlShaderPreset.FaceNoPores)
894+
if (info.Preset == MtrlShaderPreset.Face || info.Preset == MtrlShaderPreset.FaceNoPores)
895895
{
896896
args.Add(MtrlShaderParameterId.Face1, null);
897897
}

0 commit comments

Comments
 (0)