[PD-dev] [pure-data:patches] #546 moonlib/mknob fix for pd-vanilla

electrickery electrickery at users.sf.net
Sun May 3 11:11:33 CEST 2015




---

** [patches:#546] moonlib/mknob fix for pd-vanilla**

**Status:** open
**Group:** bugfix
**Labels:** pd-vanilla-compatibility moonlib 
**Created:** Sun May 03, 2015 09:11 AM UTC by electrickery
**Last Updated:** Sun May 03, 2015 09:11 AM UTC
**Owner:** nobody

The moonlib/mknob objects uses the t_iem_init_symargs->x_reverse struct element
inside the t_iemgui struct. This element appears to be pd-extended only, as
the object will not build against pd-vanilla (0.46.6) headers. Loading the
object in a pd-vanilla environment will probably result in undesired behaviour.

The x_reverse is set in mknob_check_minmax as the result of (x->x_min > x->x_max)
and used only in mknob_set. By moving the "min > max" check to mknob_set, the
x->x_gui.x_isa.x_reverse can be eliminated, and pd-vanilla compatibility restored.



---

Sent from sourceforge.net because pd-dev at lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/patches/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20150503/ef5e3807/attachment.html>


More information about the Pd-dev mailing list