mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-13 14:29:38 -05:00
update messages
This commit is contained in:
@@ -52,6 +52,9 @@ namespace UniGLTF
|
||||
MATERIALS_GREATER_THAN_SUBMESH_COUNT,
|
||||
MATERIALS_CONTAINS_NULL,
|
||||
UNKNOWN_SHADER,
|
||||
|
||||
[LangMsg(Languages.en, "Meshes containing BlendShapes with multiple Frames cannot be exported")]
|
||||
[LangMsg(Languages.ja, "複数Frameを持つBlendShapeを含むMeshはエクスポートできません")]
|
||||
MULTIFRAME_BLENDSHAPE,
|
||||
}
|
||||
|
||||
@@ -80,14 +83,14 @@ namespace UniGLTF
|
||||
}
|
||||
}
|
||||
|
||||
// blendShapeFraem
|
||||
// blendShapeFrame
|
||||
var shapeCount = info.Mesh.blendShapeCount;
|
||||
var multiFrameShapes = new List<string>();
|
||||
for (int i = 0; i < shapeCount; ++i)
|
||||
{
|
||||
if (info.Mesh.GetBlendShapeFrameCount(i) > 1)
|
||||
{
|
||||
multiFrameShapes.Add($"[{i}]{info.Mesh.GetBlendShapeName(i)}");
|
||||
multiFrameShapes.Add($"{info.Mesh.name}[{i}]({info.Mesh.GetBlendShapeName(i)})");
|
||||
}
|
||||
}
|
||||
if (multiFrameShapes.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user