mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-11 13:29:41 -05:00
自動処理するので VERTEX_COLOR_IS_INCLUDED 警告を削除。混在警告を追加
This commit is contained in:
@@ -232,9 +232,14 @@ namespace VRM
|
||||
{
|
||||
v.DrawGUI();
|
||||
}
|
||||
if (m_meshes.Meshes.Any(x => x.VertexColor != UniGLTF.MeshExportInfo.VertexColorState.None))
|
||||
foreach (var meshInfo in m_meshes.Meshes)
|
||||
{
|
||||
Validation.Warning(M17N.Getter.Msg(VRMExporterWizardMessages.VERTEX_COLOR_IS_INCLUDED)).DrawGUI();
|
||||
switch (meshInfo.VertexColor)
|
||||
{
|
||||
case UniGLTF.MeshExportInfo.VertexColorState.ExistsAndMixed:
|
||||
Validation.Warning($"{meshInfo.Renderer}: Both vcolor.multiply and not multiply unlit materials exist").DrawGUI();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
bool modified = DrawWizardGUI();
|
||||
|
||||
Reference in New Issue
Block a user