Merge remote-tracking branch 'origin/test'

This commit is contained in:
program-walker 2019-08-27 18:25:39 +08:00
commit 0706adb6ea

View File

@ -99,11 +99,23 @@ export function StationStandList() {
textt.dispose(); textt.dispose();
}else{ }else{
for(let netnum =0;netnum <netstand.length;netnum++){
if(netstand[netnum].code == k ){
for(let j=0;j<assetloader.modellist.length;j++){ for(let j=0;j<assetloader.modellist.length;j++){
if(assetloader.modellist[j].id == netstand[map[k].index].modelid){ if(assetloader.modellist[j].id == netstand[netnum].modelid){
num = j; num = j;
map[k].index = netnum;
j = assetloader.modellist.length;
} }
} }
netnum = netstand.length;
}
}
map[k].mesh = assetloader.modellist[num].mesh.clone(true); map[k].mesh = assetloader.modellist[num].mesh.clone(true);
let newclip = assetloader.modellist[num].mesh.animations[ 0 ]; let newclip = assetloader.modellist[num].mesh.animations[ 0 ];