Commit b0857154 authored by Andrey Filippov's avatar Andrey Filippov

debug output

parent 78f6e6a1
...@@ -171,6 +171,10 @@ public class PoleProcessor { ...@@ -171,6 +171,10 @@ public class PoleProcessor {
// remove seed (original head) area // remove seed (original head) area
for (int nt:tiles) { for (int nt:tiles) {
int dy = nt / tilesX - eBox.y; int dy = nt / tilesX - eBox.y;
if (dy >= eBox.height) {
System.out.println("getVertMasks() BUG: ArrayIndexOutOfBoundsException, nt = "+nt+", dy = "+dy+", eBox.y = "+eBox.y);
continue;
}
y_mask[dy] = false; y_mask[dy] = false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment