X-Git-Url: https://git.piment-noir.org/?p=SugarCubes.git;a=blobdiff_plain;f=_DebugUI.pde;h=a36f688cc501b174ce5dc85cb32cebb0772303de;hp=5b99d43775522e2ac65aef00a353393b3e2b211c;hb=8f4e6c99775f2724edf3cec488860eb68b06491c;hpb=d626bc9b0197a1b5fd51a86f33f666a2a46579a2 diff --git a/_DebugUI.pde b/_DebugUI.pde index 5b99d43..a36f688 100644 --- a/_DebugUI.pde +++ b/_DebugUI.pde @@ -200,7 +200,7 @@ class DebugUI { if (state != DEBUG_STATE_ANIM) { color debugColor = (state == DEBUG_STATE_WHITE) ? white : off; Cube cube = glucose.model.getCubeByRawIndex(rawCubeIndex); - for (Point p : cube.points) { + for (LXPoint p : cube.points) { colors[p.index] = debugColor; } } @@ -214,7 +214,7 @@ class DebugUI { if (state != DEBUG_STATE_ANIM) { color debugColor = (state == DEBUG_STATE_WHITE) ? white : off; for (Strip s : glucose.model.bassBox.boxStrips) { - for (Point p : s.points) { + for (LXPoint p : s.points) { colors[p.index] = debugColor; } } @@ -225,11 +225,11 @@ class DebugUI { state = debugState[channelIndex][1]; if (state != DEBUG_STATE_ANIM) { color debugColor = (state == DEBUG_STATE_WHITE) ? white : off; - for (Point p : glucose.model.boothFloor.points) { + for (LXPoint p : glucose.model.boothFloor.points) { colors[p.index] = debugColor; } for (Strip s : glucose.model.bassBox.struts) { - for (Point p : s.points) { + for (LXPoint p : s.points) { colors[p.index] = debugColor; } } @@ -240,7 +240,7 @@ class DebugUI { state = debugState[channelIndex][1]; if (state != DEBUG_STATE_ANIM) { color debugColor = (state == DEBUG_STATE_WHITE) ? white : off; - for (Point p : glucose.model.speakers.get(channel.objectIndices[0]).points) { + for (LXPoint p : glucose.model.speakers.get(channel.objectIndices[0]).points) { colors[p.index] = debugColor; } }