private static void ExportFromMenu()
        {
            var go = Selection.activeObject as GameObject;

            var normalized = VRM.BoneNormalizer.Execute(go, true);

            VRMExportSettings.CopyVRMComponents(go, normalized.Root, normalized.BoneMap);
            Selection.activeGameObject = normalized.Root;

            Undo.RegisterCreatedObjectUndo(normalized.Root, "normalize");
        }
        private static void ExportFromMenu()
        {
            var go = Selection.activeObject as GameObject;

            GameObject normalizedRoot = null;

            using (new VRMExportSettings.RecordDisposer(go.transform.Traverse().ToArray(), "before normalize"))
            {
                var normalized = BoneNormalizer.Execute(go, true, false);
                VRMExportSettings.CopyVRMComponents(go, normalized.Root, normalized.BoneMap);
                normalizedRoot = normalized.Root;
            }
            Selection.activeGameObject = normalizedRoot;
        }