Blender Git Commit Log

Git Commits -> Revision 9218249

Revision 9218249 by Dalai Felinto (master)
March 1, 2019, 18:39 (GMT)
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

Commit Details:

Full Hash: 92182495da881d54310bc6dd53afb91daf00116f
Parent Commit: a577499
Lines Changed: +46, -7

5 Modified Paths:

/source/blender/editors/include/UI_interface.h (+3, -0) (Diff)
/source/blender/editors/interface/interface.c (+6, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+12, -7) (Diff)
/source/blender/editors/interface/interface_intern.h (+3, -0) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+22, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021