فهرست منبع

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;