Do not show default material popup when there are vertex colors.
This commit is contained in:
parent
f57d31eca8
commit
c6b2dbb95a
@ -172,7 +172,7 @@ OV.HasDefaultMaterial = function (model)
|
||||
{
|
||||
for (let i = 0; i < model.MaterialCount (); i++) {
|
||||
let material = model.GetMaterial (i);
|
||||
if (material.isDefault) {
|
||||
if (material.isDefault && !material.vertexColors) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user