浏览代码

Update ui.three.js

Clean up.
Michael Herzog 1 年之前
父节点
当前提交
8b7a793579
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      editor/js/libs/ui.three.js

+ 2 - 2
editor/js/libs/ui.three.js

@@ -750,7 +750,7 @@ class UIPoints3 extends UIPoints {
 
 	}
 
-	setValue( points, update = true ) {
+	setValue( points, needsUpdate = true ) {
 
 		this.clear();
 
@@ -761,7 +761,7 @@ class UIPoints3 extends UIPoints {
 
 		}
 
-		if ( update === true ) this.update();
+		if ( needsUpdate === true ) this.update();
 
 		return this;