Skip to content

Commit 94e4133

Browse files
authored
Merge pull request #13638 from Mugen87/dev11
TransformControls: Remove warning when activate rotate
2 parents 5196f15 + 4124aa0 commit 94e4133

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/js/controls/TransformControls.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,13 @@
422422
],
423423

424424
XYZE: [
425-
[ new THREE.Mesh() ]// TODO
425+
[ new THREE.Mesh( new THREE.TorusBufferGeometry( 1, 0.12, 2, 24 ), pickerMaterial ) ]
426426
]
427427

428428
};
429429

430+
this.pickerGizmos.XYZE[ 0 ][ 0 ].visible = false; // disable XYZE picker gizmo
431+
430432
this.setActivePlane = function ( axis ) {
431433

432434
if ( axis === "E" ) this.activePlane = this.planes[ "XYZE" ];

0 commit comments

Comments
 (0)