Model is now in processing, not glucose
[SugarCubes.git] / _UIImplementation.pde
index c749ad4b891e72f12ed00c87e992ba96f2d4c827..ac8d6aa6276043be7d49224d0c8a7cfd965ac85c 100644 (file)
@@ -282,7 +282,7 @@ class UIMapping extends UIWindow {
       protected void onValueChange(int value) {
         mappingTool.setCube(value-1);
       }
-    }).setRange(1, glucose.model.cubes.size()).addToContainer(this);
+    }).setRange(1, model.cubes.size()).addToContainer(this);
     yp += 24;
     
     yp += 10;