From 8aba9d4cc7000be5257ac5a03d04362f8bf4eb17 Mon Sep 17 00:00:00 2001 From: bd_ Date: Sun, 30 Jul 2023 20:47:24 +0900 Subject: [PATCH] fix: adjust processing order for Mesh Settings Closes: #354 --- Packages/nadena.dev.modular-avatar/Editor/AvatarProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/nadena.dev.modular-avatar/Editor/AvatarProcessor.cs b/Packages/nadena.dev.modular-avatar/Editor/AvatarProcessor.cs index ce6e27bc..81e77e8b 100644 --- a/Packages/nadena.dev.modular-avatar/Editor/AvatarProcessor.cs +++ b/Packages/nadena.dev.modular-avatar/Editor/AvatarProcessor.cs @@ -198,6 +198,7 @@ namespace nadena.dev.modular_avatar.core.editor var context = new BuildContext(vrcAvatarDescriptor); + new MeshSettingsPass(context).OnPreprocessAvatar(); new RenameParametersHook().OnPreprocessAvatar(avatarGameObject, context); new MergeAnimatorProcessor().OnPreprocessAvatar(avatarGameObject, context); context.AnimationDatabase.Bootstrap(vrcAvatarDescriptor); @@ -206,7 +207,6 @@ namespace nadena.dev.modular_avatar.core.editor new MergeArmatureHook().OnPreprocessAvatar(context, avatarGameObject); new BoneProxyProcessor().OnPreprocessAvatar(avatarGameObject); new VisibleHeadAccessoryProcessor(vrcAvatarDescriptor).Process(context); - new MeshSettingsPass(context).OnPreprocessAvatar(); new ReplaceObjectPass(context).Process(); new RemapAnimationPass(vrcAvatarDescriptor).Process(context.AnimationDatabase); new BlendshapeSyncAnimationProcessor().OnPreprocessAvatar(avatarGameObject, context);