mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-01-12 02:40:56 +01:00
Add stack dump for render exceptions (debug)
This commit is contained in:
parent
61440490f3
commit
94c91b12b9
@ -299,6 +299,6 @@ public class BiomeMap {
|
||||
return isDef;
|
||||
}
|
||||
public String toString() {
|
||||
return String.format("%s[%d]:t%f,h%f,w%x,g%x,f%x,rl=%s", id, index, tmp, rain, watercolormult, grassmult, foliagemult, resourcelocation);
|
||||
return String.format("%s(%s)", id, resourcelocation);
|
||||
}
|
||||
}
|
||||
|
@ -1263,6 +1263,7 @@ public class IsoHDPerspective implements HDPerspective {
|
||||
ps.raytrace(cache, shaderstate, shaderdone);
|
||||
} catch (Exception ex) {
|
||||
Log.severe("Error while raytracing tile: perspective=" + this.name + ", coord=" + mapiter.getX() + "," + mapiter.getY() + "," + mapiter.getZ() + ", blockid=" + mapiter.getBlockType() + ", lighting=" + mapiter.getBlockSkyLight() + ":" + mapiter.getBlockEmittedLight() + ", biome=" + mapiter.getBiome().toString(), ex);
|
||||
ex.printStackTrace();
|
||||
}
|
||||
for(int i = 0; i < numshaders; i++) {
|
||||
if(shaderdone[i] == false) {
|
||||
|
Loading…
Reference in New Issue
Block a user