diff --git a/src/editor/lib/TransformControls.js b/src/editor/lib/TransformControls.js index d3fa9c0ff..6ef68cec3 100644 --- a/src/editor/lib/TransformControls.js +++ b/src/editor/lib/TransformControls.js @@ -485,16 +485,16 @@ }; this.pickerGizmos = { - X: [ - [ - new THREE.Mesh( - new THREE.TorusGeometry(1, 0.12, 4, 12, Math.PI), - pickerMaterial - ), - [0, 0, 0], - [0, -Math.PI / 2, -Math.PI / 2] - ] - ], + // X: [ + // [ + // new THREE.Mesh( + // new THREE.TorusGeometry(1, 0.12, 4, 12, Math.PI), + // pickerMaterial + // ), + // [0, 0, 0], + // [0, -Math.PI / 2, -Math.PI / 2] + // ] + // ], Y: [ [ @@ -507,37 +507,37 @@ ] ], - Z: [ - [ - new THREE.Mesh( - new THREE.TorusGeometry(1, 0.12, 4, 12, Math.PI), - pickerMaterial - ), - [0, 0, 0], - [0, 0, -Math.PI / 2] - ] - ], + // Z: [ + // [ + // new THREE.Mesh( + // new THREE.TorusGeometry(1, 0.12, 4, 12, Math.PI), + // pickerMaterial + // ), + // [0, 0, 0], + // [0, 0, -Math.PI / 2] + // ] + // ], - E: [ - [ - new THREE.Mesh( - new THREE.TorusGeometry(1.25, 0.12, 2, 24), - pickerMaterial - ) - ] - ], + // E: [ + // [ + // new THREE.Mesh( + // new THREE.TorusGeometry(1.25, 0.12, 2, 24), + // pickerMaterial + // ) + // ] + // ], - XYZE: [ - [ - new THREE.Mesh( - new THREE.TorusGeometry(1, 0.12, 2, 24), - pickerMaterial - ) - ] - ] + // XYZE: [ + // [ + // new THREE.Mesh( + // new THREE.TorusGeometry(1, 0.12, 2, 24), + // pickerMaterial + // ) + // ] + // ] }; - this.pickerGizmos.XYZE[0][0].visible = false; // disable XYZE picker gizmo + // this.pickerGizmos.XYZE[0][0].visible = false; // disable XYZE picker gizmo this.init(); }