瀏覽代碼

Color doesn't have a fourth argument

gero3 6 年之前
父節點
當前提交
f6b254b370
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/jsm/loaders/AssimpLoader.js

+ 1 - 1
examples/jsm/loaders/AssimpLoader.js

@@ -878,7 +878,7 @@ AssimpLoader.prototype = {
 			this.a = 0;
 			this.a = 0;
 			this.toTHREE = function () {
 			this.toTHREE = function () {
 
 
-				return new Color( this.r, this.g, this.b, 1 );
+				return new Color( this.r, this.g, this.b );
 
 
 			};
 			};