From 5522fa56f800d675dd3b7acff69b7e7aa9a9680d Mon Sep 17 00:00:00 2001 From: mkc1370 Date: Fri, 29 Jul 2022 10:08:10 +0900 Subject: [PATCH] change RemoveNullClip to private --- Assets/VRM/Editor/BlendShape/BlendShapeClipSelector.cs | 2 -- Assets/VRM/Runtime/BlendShape/BlendShapeAvatar.cs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Assets/VRM/Editor/BlendShape/BlendShapeClipSelector.cs b/Assets/VRM/Editor/BlendShape/BlendShapeClipSelector.cs index ae66a99d1..1ba81c499 100644 --- a/Assets/VRM/Editor/BlendShape/BlendShapeClipSelector.cs +++ b/Assets/VRM/Editor/BlendShape/BlendShapeClipSelector.cs @@ -46,8 +46,6 @@ namespace VRM public BlendShapeClipSelector(BlendShapeAvatar avatar, Action onSelected) { - avatar.RemoveNullClip(); - m_avatar = avatar; m_onSelected = onSelected; diff --git a/Assets/VRM/Runtime/BlendShape/BlendShapeAvatar.cs b/Assets/VRM/Runtime/BlendShape/BlendShapeAvatar.cs index 814fe574f..7e07b0b57 100644 --- a/Assets/VRM/Runtime/BlendShape/BlendShapeAvatar.cs +++ b/Assets/VRM/Runtime/BlendShape/BlendShapeAvatar.cs @@ -31,7 +31,7 @@ namespace VRM /// /// NullのClipを削除して詰める /// - public void RemoveNullClip() + private void RemoveNullClip() { if (clips == null) {