Page MenuHome

Fix T62016: Outliner visibility icons drag behaviour broken
ClosedPublic

Authored by Dalai Felinto (dfelinto) on Mar 1 2019, 5:18 PM.

Details

Summary

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.

Diff Detail

Repository
rB Blender

Event Timeline

Harbormaster completed remote builds in B3030: Diff 13950.

Looks good to me.

This revision is now accepted and ready to land.Mar 1 2019, 6:29 PM
This revision was automatically updated to reflect the committed changes.