Bläddra i källkod

Update ui.three.js

Clean up.
Michael Herzog 1 år sedan
förälder
incheckning
8b7a793579
1 ändrade filer med 2 tillägg och 2 borttagningar
  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;