浏览代码

readded failsave mechanism, less crashes

master
Victor Giers 2 年前
父节点
当前提交
555d729879
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. 1
    1
      data/saves.sav
  2. 5
    5
      secondapplet.pde

+ 1
- 1
data/saves.sav 查看文件

@@ -1,2 +1,2 @@
//globals
uptime = 116820983
uptime = 116880661

+ 5
- 5
secondapplet.pde 查看文件

@@ -229,17 +229,17 @@ public class SecondApplet extends PApplet {
else
renderSizeChanged = false;
for (int i = 0; i < shaderList.size(); i++) {
//try {
try {

shaderList.get(i).getValuesFromGUI();
if (bricks.get(i).active) {
//shaderList.get(i).getValuesFromGUI();
shaderList.get(i).shade();
}
// }
//catch(Exception e) {
// println("Warning: Brick not yet loaded");
//}
}
catch(Exception e) {
println("Warning: Brick not yet loaded");
}
if (i > maxFx) break;
}
}

正在加载...
取消
保存