From 4124aa0505f82dcfda06380375ba96d543c2ee62 Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Mon, 19 Mar 2018 15:52:29 +0100 Subject: [PATCH] TransformControls: Remove warning when activate rotate --- examples/js/controls/TransformControls.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/js/controls/TransformControls.js b/examples/js/controls/TransformControls.js index 29ae203793..c3e63c61b4 100644 --- a/examples/js/controls/TransformControls.js +++ b/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" ]; -- GitLab