From 232938d984f9ea11c66d200921ab1584b6443bd5 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 16 Sep 2012 22:59:57 +0200 Subject: added support for OSCGraphicPorts: they allow you to control layer parameters by chucking a port into the UGen graph --- chuck/OSCGraphics.ck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chuck/OSCGraphics.ck') diff --git a/chuck/OSCGraphics.ck b/chuck/OSCGraphics.ck index 603706f..626c92d 100644 --- a/chuck/OSCGraphics.ck +++ b/chuck/OSCGraphics.ck @@ -92,7 +92,7 @@ public class OSCGraphics { OSCGraphicsBox box; box.init(osc_send, "box", "iiif", pos, "__box_"+free_id, geo); - for (0 => int i; i < color.cap(); i++) + for (0 => int i; i < 3; i++) color[i] => osc_send.addInt; opacity => osc_send.addFloat; -- cgit v1.2.3