Browse Source

Updated builds

Mr.doob 4 years ago
parent
commit
3d59a07b32
3 changed files with 7 additions and 2 deletions
  1. 4 1
      build/three.js
  2. 0 0
      build/three.min.js
  3. 3 1
      build/three.module.js

+ 4 - 1
build/three.js

@@ -6672,7 +6672,7 @@
 
 		setColorName(style) {
 			// color keywords
-			const hex = _colorKeywords[style];
+			const hex = _colorKeywords[style.toLowerCase()];
 
 			if (hex !== undefined) {
 				// red
@@ -16237,6 +16237,9 @@
 					if (inputPose !== null) {
 						targetRay.matrix.fromArray(inputPose.transform.matrix);
 						targetRay.matrix.decompose(targetRay.position, targetRay.rotation, targetRay.scale);
+						this.dispatchEvent({
+							type: 'move'
+						});
 					}
 				}
 

File diff suppressed because it is too large
+ 0 - 0
build/three.min.js


+ 3 - 1
build/three.module.js

@@ -8641,7 +8641,7 @@ class Color {
 	setColorName( style ) {
 
 		// color keywords
-		const hex = _colorKeywords[ style ];
+		const hex = _colorKeywords[ style.toLowerCase() ];
 
 		if ( hex !== undefined ) {
 
@@ -21952,6 +21952,8 @@ class WebXRController {
 					targetRay.matrix.fromArray( inputPose.transform.matrix );
 					targetRay.matrix.decompose( targetRay.position, targetRay.rotation, targetRay.scale );
 
+					this.dispatchEvent( { type: 'move' } );
+
 				}
 
 			}

Some files were not shown because too many files changed in this diff