From 73146871639d8a92d24d0ec5db01f6e5729b12f1 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 17 Jan 2013 23:33:42 +0000 Subject: fix bug where outlet order was reversed, bug report and patch from Mike McGonagle svn path=/trunk/externals/chaos/; revision=16908 --- unity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unity.c') diff --git a/unity.c b/unity.c index 63af1dd..f4633b3 100644 --- a/unity.c +++ b/unity.c @@ -60,8 +60,8 @@ static void calc(unity_struct *unity, double *vars) { static void calculate(unity_struct *unity) { calc(unity, unity -> vars); - outlet_float(unity -> x_obj.ob_outlet, unity -> vars[M_x]); outlet_float(unity -> outlets[M_y - 1], unity -> vars[M_y]); + outlet_float(unity -> x_obj.ob_outlet, unity -> vars[M_x]); } // end calculate static void reset(unity_struct *unity, t_symbol *s, int argc, t_atom *argv) { -- cgit v1.2.1