mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-25 03:55:52 -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