[PD] Weird behavior with Data Structures

Esteban Viveros emviveros at gmail.com
Thu May 25 21:51:57 CEST 2017

Thanks Christof!

In this project is completely posible do it work with the actual solutions.

But I'm learning a lot with this project and when I saw that behavior I
found it strange...

I will see if it behavior was reported and report it if necessary..


Em qui, 25 de mai de 2017 16:35, Christof Ressi <christof.ressi at gmx.at>

> Hi, I'm sure that data structure polygons do some approximations for
> capturing mouse events so I wouldn't expect it to be really exact for more
> complex shapes than a rectangle. do you really need to draw the shapes this
> way? Jaos solution actually works, it's just that the keys don't show up
> when the abstraction is loaded. it works once the GUI is refreshed. a
> workaround is to send a [vis 1, vis 0( message to the parent canvas. you
> can even do this from within your abstraction with [iemguts/sendcanvas 1].
> either way, have a look at my solution for filtering unwanted mouse events
> in the last patch I sent you. you can also apply it here.
> Christof
> Gesendet: Donnerstag, 25. Mai 2017 um 18:39 Uhr
> Von: "Esteban Viveros" <emviveros at gmail.com>
> An: Pd-List <Pd-list at lists.iem.at>
> Betreff: [PD] Weird behavior with Data Structures
> Hi again!
> I'm have a weird behavior working with data structures...
> I draw a keyboard and I tried to use clicks to change the color key. but I
> have simultaneously responses at boundaries. So I draw the keys without
> boundaries and I have in black keys vertical boundaries response of black
> key scalar and white key scalar.
> I can't find error in the patch.. Can anyone confirm if is that a bug or
> something wrong with me..? :)
> Patch attached
> Cheers
> --
> www.estebanviveros.com[http://www.estebanviveros.com]
> _______________________________________________ Pd-list at lists.iem.at
> mailing list UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170525/2036fde3/attachment.html>

More information about the Pd-list mailing list