From 4f4eda51954b7983016e6a062d3db77a68c2ad67 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Tue, 23 Feb 2016 16:37:12 +0200 Subject: Updated three.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 'debugger' keyword was causing "Unimplemented code." prints. Change-Id: Ic1a018208e6c2fcc818416fc72d4d3b15e095bb1 Reviewed-by: Pasi Keränen --- examples/canvas3d/canvas3d/3rdparty/three.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/canvas3d/canvas3d/3rdparty/three.js b/examples/canvas3d/canvas3d/3rdparty/three.js index a5f4e56..fd129e0 100644 --- a/examples/canvas3d/canvas3d/3rdparty/three.js +++ b/examples/canvas3d/canvas3d/3rdparty/three.js @@ -41473,7 +41473,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) { nElements = 16; break; default : - debugger; + console.log("Invalid type in componentsPerElementForGLType:", type); //debugger; // Changed for Qt, debugger keyword is not supported break; } @@ -43230,7 +43230,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) { var parameter = parameters[param]; var accessor = this.resources.getEntry(parameter); if (!accessor) - debugger; + console.log("Invalid accessor in handleAnimation"); //debugger; // Changed for Qt, debugger keyword is not supported accessor = accessor.object; var bufferView = this.resources.getEntry(accessor.bufferView); var paramObject = { @@ -43646,7 +43646,7 @@ THREE.GLTFLoaderUtils = Object.create(Object, { nElements = 16; break; default : - debugger; + console.log("Invalid type in _elementSizeForGLType:", type); //debugger; // Changed for Qt, debugger keyword is not supported break; } @@ -43658,7 +43658,7 @@ THREE.GLTFLoaderUtils = Object.create(Object, { case Context3D.UNSIGNED_SHORT : // Changed for Qt return Uint16Array.BYTES_PER_ELEMENT * nElements; default : - debugger; + console.log("Invalid componentType in _elementSizeForGLType:", componentType); //debugger; // Changed for Qt, debugger keyword is not supported return null; } } -- cgit v1.2.3