mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-13 06:20:01 -05:00
skip color if [remove vcolor]
This commit is contained in:
@@ -102,7 +102,8 @@ namespace VRM
|
||||
sb.Append("+UV");
|
||||
info.ExportVertexSize += 4 * 2;
|
||||
}
|
||||
if (info.Mesh.colors != null && info.Mesh.colors.Length == info.Mesh.vertexCount)
|
||||
if (info.Mesh.colors != null && info.Mesh.colors.Length == info.Mesh.vertexCount
|
||||
&& info.VertexColor == UniGLTF.MeshExportInfo.VertexColorState.ExistsAndIsUsed)
|
||||
{
|
||||
sb.Append("+Col");
|
||||
info.ExportVertexSize += 4 * 4;
|
||||
|
||||
Reference in New Issue
Block a user