瀏覽代碼

Merge commit 'e510143cdf5e8a882c199a0a3f3585e087b2dbb7' into dev

Mr.doob 10 年之前
父節點
當前提交
06ff0d654d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      examples/js/loaders/gltf/glTFLoader.js

+ 1 - 0
examples/js/loaders/gltf/glTFLoader.js

@@ -443,6 +443,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) {
 	ShaderDelegate.prototype.resourceAvailable = function(data, ctx) {
 	ShaderDelegate.prototype.resourceAvailable = function(data, ctx) {
 		theLoader.shadersLoaded ++;
 		theLoader.shadersLoaded ++;
 		theLoader.shaders[ctx.id] = data;
 		theLoader.shaders[ctx.id] = data;
+		theLoader.checkComplete();
 		return true;
 		return true;
 	};
 	};