mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-09 20:38:56 -05:00
修正
This commit is contained in:
@@ -364,7 +364,7 @@ namespace UniGLTF
|
||||
{
|
||||
foreach (var prim in mesh.primitives)
|
||||
{
|
||||
if (HasVertexColor(prim.attributes))
|
||||
if (prim.material == materialIndex && HasVertexColor(prim.attributes))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user