From 366ff0832f3ce44aa3c37c60c9ed2d140b6061b4 Mon Sep 17 00:00:00 2001 From: bd_ Date: Tue, 30 Jul 2024 08:44:42 -0700 Subject: [PATCH] fix: Scale Adjuster breaks physbones (#938) Scale Adjuster introduces child transforms, and thus needs to add PB exclusions to avoid breaking parent PB chains. Closes: #924 --- Editor/ScaleAdjusterPass.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Editor/ScaleAdjusterPass.cs b/Editor/ScaleAdjusterPass.cs index 58a5c2bc..84282804 100644 --- a/Editor/ScaleAdjusterPass.cs +++ b/Editor/ScaleAdjusterPass.cs @@ -18,6 +18,7 @@ namespace nadena.dev.modular_avatar.core.editor { var proxyObject = new GameObject("ScaleProxy"); var proxyTransform = proxyObject.transform; + proxyObject.AddComponent(); proxyTransform.SetParent(adjuster.transform, false); proxyTransform.localPosition = Vector3.zero;