Patches item #3606332, was opened at 2013-02-28 01:41
Message generated for change (Tracker Item Submitted) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3606332&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: IOhannes m zmölnig (zmoelnig)
Assigned to: Miller Puckette (millerpuckette)
Summary: fix for [trigger anything] modifying incoming messages

Initial Comment:
[t a] will convert bang, float and symbol messages to list mesages.
this becomes problematic, if the objects that receive the data from [trigger] 
have methods for e.g. both "list" and "bang" and use different semantics for 
those two messages (e.g. "bang" triggers the object's output, whereas "list" 
sets its internal state - an empty list could be used for clearing the state)

it also makes triggering of the empty-lists-discarded bug (fixed in #3606330) 
very easy, e.g the following will not do anything:
[bang(
|
[t a]
|
[pack 0 0]

the attached patch sends the incoming messages unmodified to any "a" outlet of 
[trigger]

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3606332&group_id=55736

_______________________________________________
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev

Reply via email to