From 925c6113a59ec5f139de2b663f57ecfc049142fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 23 Jul 2008 10:17:37 +0000 Subject: added x_object for similicity svn path=/trunk/externals/iem/iemguts/; revision=10210 --- src/canvasconnection.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/canvasconnection.c b/src/canvasconnection.c index af64ce9..58f881a 100644 --- a/src/canvasconnection.c +++ b/src/canvasconnection.c @@ -103,16 +103,18 @@ static void *canvasconnection_new(t_floatarg f) if(depth<0)depth=0; x->x_parent=0; + x->x_object=0; while(depth && canvas) { canvas=canvas->gl_owner; depth--; } - x->x_object = pd_checkobject((t_pd*)canvas); - if(canvas) + if(canvas) { + x->x_object = pd_checkobject((t_pd*)canvas); x->x_parent = canvas->gl_owner; + } x->x_out=outlet_new(&x->x_obj, 0); -- cgit v1.2.1