From a0fb02523974aa7355a7ce0abd9538c78f4db28d Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Sun, 30 Sep 2018 02:23:43 +0000 Subject: [PATCH] Take out logging --- src/hub.js | 2 +- src/react-components/ui-root.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/hub.js b/src/hub.js index 07f2ddf44..7dc526b7d 100644 --- a/src/hub.js +++ b/src/hub.js @@ -271,7 +271,7 @@ const onReady = async () => { camera.object3D.position.set(cameraPos.x, 2.5, cameraPos.z); } - camera.setAttribute("scene-preview-camera", "positionOnly: true; duration: 30"); + camera.setAttribute("scene-preview-camera", "positionOnly: true; duration: 60"); // Replace renderer with a noop renderer to reduce bot resource usage. if (isBotMode) { diff --git a/src/react-components/ui-root.js b/src/react-components/ui-root.js index a6e0e0299..ddc6608fe 100644 --- a/src/react-components/ui-root.js +++ b/src/react-components/ui-root.js @@ -265,12 +265,9 @@ class UIRoot extends Component { const hasGrantedMic = await this.hasGrantedMicPermissions(); if (hasGrantedMic) { - console.log("a"); await this.setMediaStreamToDefault(); - console.log("b"); this.beginOrSkipAudioSetup(); } else { - console.log("c"); this.setState({ entryStep: ENTRY_STEPS.mic_grant }); } }; -- GitLab