remove Windows.prompt cause of crash

This commit is contained in:
AlessandroSigna 2015-11-20 18:57:51 -08:00
parent a1053ee5a0
commit 05d311cff3

View file

@ -90,9 +90,8 @@ function masterReceivingMessage(channel, message, senderID) {
//I get an atp url from one participant
performanceJSON.avatarClips[performanceJSON.avatarClips.length] = message;
}
}
}
}
function update(deltaTime) {
if (waitingForPerformanceFile) {
@ -114,17 +113,15 @@ function update(deltaTime) {
}
function uploadFinished(url){
print("some info:");
print("performance file uploaded to: " + url);
uploadedFile = url;
//need to print somehow the url here this way the master can copy the url
print("PERFORMANCE FILE URL: " + url);
Assets.downloadData(url, function (data) {
printPerformanceJSON(JSON.parse(data));
});
//need to print somehow the url here this way the master can copy the url
Window.prompt("Performance file url: ", url);
}
function printPerformanceJSON(obj) {
print("some info:");
print("downloaded performance file from asset and examinating its content...");
var avatarClips = obj.avatarClips;
avatarClips.forEach(function(param) {