diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-07-08 00:02:45 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-07-08 00:02:45 +0000 |
commit | 6efb16b9040f7ba6db8c60559e0c815d54f05c43 (patch) | |
tree | c6630f3740272735d3a25f8b761dc8aa76cd6d25 /pd/src/g_graph.c | |
parent | db7bcd346529c35eee37d356138c971f32e3f795 (diff) |
Bug fixes: took out some unwanted "red rectangle" apparitions when making
arrays on new canvases; got the array dialog to come back; made graphical
updating a bit more reliable.
Tested and fixed a couple of problems on Mac and Windoes.
svn path=/trunk/; revision=3300
Diffstat (limited to 'pd/src/g_graph.c')
-rw-r--r-- | pd/src/g_graph.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pd/src/g_graph.c b/pd/src/g_graph.c index 9dae5221..b7b3da72 100644 --- a/pd/src/g_graph.c +++ b/pd/src/g_graph.c @@ -39,7 +39,8 @@ void glist_add(t_glist *x, t_gobj *y) } if (x->gl_editor && (ob = pd_checkobject(&y->g_pd))) rtext_new(x, ob); - if (x->gl_editor && x->gl_isgraph && !x->gl_goprect) + if (x->gl_editor && x->gl_isgraph && !x->gl_goprect + && pd_checkobject(&y->g_pd)) { x->gl_goprect = 1; canvas_drawredrect(x, 1); @@ -1059,8 +1060,6 @@ static int graph_click(t_gobj *z, struct _glist *glist, } } -void garray_properties(t_garray *x); - t_widgetbehavior graph_widgetbehavior = { graph_getrect, |