Silenting (or destroying) a ParameterListener ?
Hi there,
shouldn't silent (int) attribute for a ParameterListener silent the listener ?
It doesn't seem to work here.
Creating them works fine. Linking a callback function, same. Very cool
But listeners[name].silent = 1; doesn't work here. Still calling the callback.
Tried to dispose them on many ways as usual (unreference them, nulling them, deleting...)
no way.
any feedbacks about what I missed out here ?
Best,
Julien
The doc for the silent
property states "Whether to execute the callback function in response to calling ParameterListener.setvalue() from this ParameterListener
" and it does exactly that. It doesn't silent the callback function in response to direct changes to the objects parameter itself, it does only when the value is changed with param.setvalue()
from the js code.
I got it.
Whether misinterpreted in my language :-/
Thanks
I found a way, as in my case, no listener were needed in the end, so get / set works perfectly (and silently)