If you have a subpatch, and send a "cut" message to it when it is not in "visible" state (i.e. it is not open), pd crashes.
This may happen when using scripting, if for example you send a "find foo" message followed by a "cut" message. If the object does not exist (and the subpatch hasn't been made explicitly visible), the cut message will reach the canvas when it is invisible.
See the attached example.
Tested on 0.40.2 on Windows XP.
Matteo Sisti Sette
matteo dot sistisette at email dot it
Anonymous
raised priority since this bothers me right now!
miller: any chance to get selection/copy/paste/... to work with closed patches?
diff against todays SVN to avoid the crash
fixed this slightly differently. (Hannes -- the vis/invis editor allocation and deallocation
code is so complicated I'm afraid to try to enable "edits" on invis windows. Instead I
want to write a "delete-in-rectangle" message optimized for scripting.
Miller, if I were against you, I'd suggest that you make a "delete-in-rectangle" message optimised for scripting.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).