From 33db1f15d2274bfa99952d6fdb4dbd6077e8ea92 Mon Sep 17 00:00:00 2001 From: seotbeo Date: Tue, 7 Jan 2025 01:28:08 +0900 Subject: [PATCH] Avatar: Fix hairShade Rendering --- WzComparerR2.Avatar/AvatarCanvas.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WzComparerR2.Avatar/AvatarCanvas.cs b/WzComparerR2.Avatar/AvatarCanvas.cs index 2a68de7a..8c094ef8 100644 --- a/WzComparerR2.Avatar/AvatarCanvas.cs +++ b/WzComparerR2.Avatar/AvatarCanvas.cs @@ -949,9 +949,9 @@ private void CreateBone(Bone root, Tuple[] frameNodes, bo { continue; } - if (childNode.Text == "hairShade") + if (linkNode.Text == "hairShade") { - linkNode = childNode.FindNodeByPath("0"); + linkNode = linkNode.FindNodeByPath("0"); if (linkNode == null) { continue;