Browse Source

Update ui.three.js

Clean up.
Michael Herzog 1 year ago
parent
commit
8b7a793579
1 changed files with 2 additions and 2 deletions
  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();
 		this.clear();
 
 
@@ -761,7 +761,7 @@ class UIPoints3 extends UIPoints {
 
 
 		}
 		}
 
 
-		if ( update === true ) this.update();
+		if ( needsUpdate === true ) this.update();
 
 
 		return this;
 		return this;