From eb7cca8a89f38c68d7b82a2d1d2b3d0dac8c5b57 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Tue, 11 Aug 2020 17:53:14 +0900 Subject: [PATCH] validation --- Assets/VRM/UniVRM/Editor/Format/VRMExporterWizard.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/VRM/UniVRM/Editor/Format/VRMExporterWizard.cs b/Assets/VRM/UniVRM/Editor/Format/VRMExporterWizard.cs index 528de0a53..9820762c0 100644 --- a/Assets/VRM/UniVRM/Editor/Format/VRMExporterWizard.cs +++ b/Assets/VRM/UniVRM/Editor/Format/VRMExporterWizard.cs @@ -148,10 +148,10 @@ namespace VRM yield return Validation.Warning("There is a bone with the same name in the hierarchy. If exported, these bones will be automatically renamed."); } - // if (ReduceBlendshape && ExportRoot.GetComponent() == null) - // { - // yield return Validation.Error("ReduceBlendshapeSize needs VRMBlendShapeProxy. You need to convert to VRM once."); - // } + if (m_settings.ReduceBlendshape && ExportRoot.GetComponent() == null) + { + yield return Validation.Error("ReduceBlendshapeSize needs VRMBlendShapeProxy. You need to convert to VRM once."); + } var vertexColor = ExportRoot.GetComponentsInChildren().Any(x => x.sharedMesh.colors.Length > 0); if (vertexColor)