Astrak/LoadScreen.js

Some minor errors

Remi-Tribia opened this issue · 0 comments

  • On line 300 & 301:
files[ k ] = { prog: 0, fileSize: t.fileSize };
fileSum += t.fileSize;

should be

files[ k ] = { prog: 0, fileSize: f.fileSize };
fileSum += f.fileSize;
  • Also on line 545:
    geometries[ p ].prog = pr; should be files[ p ].prog = pr;

  • And lastly there was an error when loading file and trying to add the property .name to the resulting string on line 1073, I had to comment the line...