|
@@ -1417,7 +1417,7 @@ window.initHot = function(model){
|
|
|
if(this.photoHasRequestLoad || this.texType != 'photo'){
|
|
|
return; //为什么之前1191需要在这加callback() 才能呢。现在又没事了
|
|
|
}
|
|
|
- //console.log('overlay beginDownload : ' + this.sid)
|
|
|
+ console.log(' beginDownload : ' + this.sid)
|
|
|
|
|
|
|
|
|
/* this.material_.map = */Texture.load(this.info.texSrc, (tex)=>{
|
|
@@ -1561,10 +1561,10 @@ window.initHot = function(model){
|
|
|
let count = Hot.maxLoadingCount - loadings.length
|
|
|
Hot.loadQueue.slice(0, count).forEach(e=>{
|
|
|
loadings.push(e)
|
|
|
- //console.log('requestDownload', e.hot.info.texSrc)
|
|
|
+ console.log('requestDownload', e.hot.info.texSrc)
|
|
|
e.hot.requestDownload(e.type, ()=>{
|
|
|
var i = loadings.indexOf(e)
|
|
|
- //console.log('requestDownload index', i)
|
|
|
+ console.log('requestDownloaded index', i)
|
|
|
i > -1 && loadings.splice(i,1)
|
|
|
})
|
|
|
})
|