Browse Source

Merge pull request #13638 from Mugen87/dev11

TransformControls: Remove warning when activate rotate
Mr.doob 7 years ago
parent
commit
94e4133a70
1 changed files with 3 additions and 1 deletions
  1. 3 1
      examples/js/controls/TransformControls.js

+ 3 - 1
examples/js/controls/TransformControls.js

@@ -422,11 +422,13 @@
 			],
 
 			XYZE: [
-				[ new THREE.Mesh() ]// TODO
+				[ new THREE.Mesh( new THREE.TorusBufferGeometry( 1, 0.12, 2, 24 ), pickerMaterial ) ]
 			]
 
 		};
 
+		this.pickerGizmos.XYZE[ 0 ][ 0 ].visible = false; // disable XYZE picker gizmo
+
 		this.setActivePlane = function ( axis ) {
 
 			if ( axis === "E" ) this.activePlane = this.planes[ "XYZE" ];