Button default value should be used in broadcaster
-
As we know, broadcasters automatically fire at init. With a value listener linked to a momentary button, the value passed into the broadcaster at this initial trigger will always be 0.
This is super annoying if you only want the action to happen when the user clicks the button (not at init) and when they've release the mouse (value = 0).
A simple solution would be to have this initial firing use the button's defaultValue property - which doesn't seem to be used for anything.
-
which doesn't seem to be used for anything.
It's used for AAX plugins - the initial state ignores the default user preset and loads those default values if buttons are assigned to a plugin parameter.
-
@Christoph-Hart said in Button default value should be used in broadcaster:
It's used for AAX plugins
Aha that's good to know