Skip to content
Snippets Groups Projects
Commit 8279813c authored by joni's avatar joni
Browse files

Remove code we have for debug

parent 99567fe5
No related branches found
No related tags found
No related merge requests found
...@@ -191,17 +191,7 @@ function cachedLoadGLTF(src, basePath, preferredTechnique, onProgress) { ...@@ -191,17 +191,7 @@ function cachedLoadGLTF(src, basePath, preferredTechnique, onProgress) {
gltfLoader.load(src, resolve, onProgress, reject); gltfLoader.load(src, resolve, onProgress, reject);
}); });
} }
return ( return GLTFCache[src].then(cloneGltf);
GLTFCache[src]
// .then(gltf => {
// return new Promise((resolve, reject) => {
// window.setTimeout(() => {
// resolve(gltf);
// }, 2000);
// });
// })
.then(cloneGltf)
);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment