Do not show default material popup when there are vertex colors.

This commit is contained in:
kovacsv 2021-12-29 09:39:50 +01:00
parent f57d31eca8
commit c6b2dbb95a

View File

@ -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;
}
}