summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>2016-02-23 16:37:12 +0200
committerPasi Keränen <pasi.keranen@theqtcompany.com>2016-03-03 09:46:29 +0000
commit4f4eda51954b7983016e6a062d3db77a68c2ad67 (patch)
treebf6db652f5c8fa6f598f1491954be22d4e6373e3
parent085aec4c8836c01368cc2926f32952e871699a44 (diff)
Updated three.jsv5.7.0-alpha1
'debugger' keyword was causing "Unimplemented code." prints. Change-Id: Ic1a018208e6c2fcc818416fc72d4d3b15e095bb1 Reviewed-by: Pasi Keränen <pasi.keranen@theqtcompany.com>
-rw-r--r--examples/canvas3d/canvas3d/3rdparty/three.js8
1 files 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;
}
}