diff --git a/source/threejs/threemodelloader.js b/source/threejs/threemodelloader.js index 0d8617f..034d060 100644 --- a/source/threejs/threemodelloader.js +++ b/source/threejs/threemodelloader.js @@ -67,7 +67,7 @@ OV.ThreeModelLoader = class ReplaceDefaultMaterialColor (defaultColor) { - if (this.defaultMaterial !== null) { + if (this.defaultMaterial !== null && !this.defaultMaterial.vertexColors) { this.defaultMaterial.color = OV.ConvertColorToThreeColor (defaultColor); } }