Fix one bit of pointless indentation
[SugarCubes.git] / _PandaDriver.pde
index 7fd45c0acc8134d699e25a7293963c47e5129f4b..28701e9bde957e395a70364d46f42a0aa29b3925 100644 (file)
@@ -70,12 +70,11 @@ public class PandaDriver {
       Cube cube = model.getCubeByRawIndex(cubeNumber);
       if (cube == null) {
         throw new RuntimeException("Non-existing cube specified in flipped RGB mapping (" + cubeNumber + ")");
-      } else {
-        for (int i = 1; i < cubeInfo.length; ++i) {
-          int stripIndex = cubeInfo[i];
-          for (Point p : cube.strips.get(stripIndex-1).points) {
-            flipped[p.index] = true;
-          }
+      }
+      for (int i = 1; i < cubeInfo.length; ++i) {
+        int stripIndex = cubeInfo[i];
+        for (Point p : cube.strips.get(stripIndex-1).points) {
+          flipped[p.index] = true;
         }
       }
     }