From 866e75243e0b8a9e442811fa2dbc2e0dc6ca9960 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Mon, 24 Oct 2022 17:36:56 +0900 Subject: [PATCH] get non active --- Assets/VRM/Editor/Format/VRMEditorExporter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/VRM/Editor/Format/VRMEditorExporter.cs b/Assets/VRM/Editor/Format/VRMEditorExporter.cs index b8fdce6fb..ce0187b24 100644 --- a/Assets/VRM/Editor/Format/VRMEditorExporter.cs +++ b/Assets/VRM/Editor/Format/VRMEditorExporter.cs @@ -168,9 +168,9 @@ namespace VRM { // copy元 var animator = exportRoot.GetComponent(); - var beforeTransforms = exportRoot.GetComponentsInChildren(); + var beforeTransforms = exportRoot.GetComponentsInChildren(true); // copy先 - var afterTransforms = target.GetComponentsInChildren(); + var afterTransforms = target.GetComponentsInChildren(true); // copy先のhumanoidBoneのリストを得る var humanTransforms = CachedEnum.GetValues() .Where(x => x != HumanBodyBones.LastBone)