All right, here's first patch for the undo patch cord bug. It's rather
small and for the most part self-explanatory.
This applies cleanly against 0.42.5 pd-extended I checked out yesterday.
Best wishes,
Ico
--- g_editor_old.c 2009-10-30 22:13:16.000000000 -0400
+++ g_editor.c 2009-10-30 22:13:40.000000000 -0400
@@ -2472,9 +2472,9 @@ void canvas_connect(t_canvas *x, t_float
if (!(oc = obj_connect(objsrc, outno, objsink, inno))) goto bad;
if (glist_isvisible(x))
{
- sys_vgui(".x%lx.c create line %d %d %d %d -width %d -tags l%lx\n",
+ sys_vgui(".x%lx.c create line %d %d %d %d -width %d -fill %s -tags l%lx\n",
glist_getcanvas(x), 0, 0, 0, 0,
- (obj_issignaloutlet(objsrc, outno) ? 2 : 1),oc);
+ (obj_issignaloutlet(objsrc, outno) ? 2 : 1), (obj_issignaloutlet(objsrc, outno) ? "$signal_cord" : "$msg_cord"), oc);
canvas_fixlinesfor(x, objsrc);
}
return;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list