From c7fa4e3a8181f8f62d10d34a9d844531d5c6aacb Mon Sep 17 00:00:00 2001 From: ousttrue Date: Fri, 8 Jul 2022 17:29:11 +0900 Subject: [PATCH] =?UTF-8?q?=E5=AF=BE=E8=B1=A1=E3=81=AE=20Renderer=20?= =?UTF-8?q?=E3=81=B8=E3=81=AE=E5=8F=82=E7=85=A7=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Editor/UniGLTF/ExportDialog/MeshExportValidator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/UniGLTF/Editor/UniGLTF/ExportDialog/MeshExportValidator.cs b/Assets/UniGLTF/Editor/UniGLTF/ExportDialog/MeshExportValidator.cs index c642d6734..ee0c53b02 100644 --- a/Assets/UniGLTF/Editor/UniGLTF/ExportDialog/MeshExportValidator.cs +++ b/Assets/UniGLTF/Editor/UniGLTF/ExportDialog/MeshExportValidator.cs @@ -90,13 +90,13 @@ namespace UniGLTF { if (info.Mesh.GetBlendShapeFrameCount(i) > 1) { - multiFrameShapes.Add($"{info.Mesh.name}[{i}]({info.Mesh.GetBlendShapeName(i)})"); + multiFrameShapes.Add($"[{i}]({info.Mesh.GetBlendShapeName(i)})"); } } if (multiFrameShapes.Count > 0) { var names = String.Join(", ", multiFrameShapes); - yield return Validation.Error($"{names}: {Messages.MULTIFRAME_BLENDSHAPE.Msg()}"); + yield return Validation.Error($"{names}: {Messages.MULTIFRAME_BLENDSHAPE.Msg()}", ValidationContext.Create(info.Renderers[0].Item1)); } }