From 3ea3f5494b6daddf1ec00acb2649f3d55b77a0e9 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Wed, 2 Sep 2015 13:34:53 +0200 Subject: [PATCH] Corrected bug --- js/l3d/apps/prototype/interactive/main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/l3d/apps/prototype/interactive/main.js b/js/l3d/apps/prototype/interactive/main.js index fa9c28f..bbf0f02 100644 --- a/js/l3d/apps/prototype/interactive/main.js +++ b/js/l3d/apps/prototype/interactive/main.js @@ -49,10 +49,14 @@ function main() { initListeners(); appendTo(container)(stats, Coin, startCanvas, pointer, previewer, renderer); + // appendTo(container)(startCanvas, pointer, previewer, renderer); // Set the good size of cameras onWindowResize(); + if (locked) + startCanvas.render(); + // Some config if (initMainScene !== L3D.initPeach && initMainScene !== L3D.initSponza) setInterval(function() {logfps(stats.getFps());}, 500);