diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-03-01 19:14:16 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-03-01 21:39:04 +0300 |
commit | 92182495da881d54310bc6dd53afb91daf00116f (patch) | |
tree | 1678252eac993de439603db327f8350db77c3edf /source/blender/nodes | |
parent | a577499c7521c5fcfaefd58ec1d8940886563adc (diff) |
Fix T62016: Outliner visibility icons drag behaviour broken
We are mixing bool and fancy 3-in-1 func-set buttons in the outliner.
So they would return different pushed state in
ui_drag_toggle_but_pushed_state().
We now have a callback function that allows the button to set its own
pushed_button_state callback function.
Note: This is a bit of overkill since we are planning to change the
3-in-1 outliner buttons. That said, it may be nice to have, since in the
future we can mix those buttons for other things.
Reviewers: brecht
Differential Revision: https://developer.blender.org/D4434
Diffstat (limited to 'source/blender/nodes')
0 files changed, 0 insertions, 0 deletions