diff options
author | Colin Basnett <cmbasnett> | 2022-05-09 13:12:20 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2022-05-09 13:15:16 +0300 |
commit | 4ac6177b8d676d9e678126af71067cad3674ff3b (patch) | |
tree | 595982b2b8b010579c37d2fd1c30549ff2afd235 /source/blender/editors/space_sequencer | |
parent | 9913196470e614ab65785fcf3bb18723906e468d (diff) |
Fix T97529: NLA track buttons still work when hidden
NLA track option buttons (lock track, etc.) now no longer respond to
clicks when they are hidden.
The bug stems from the fact that there was duplicate input handling
going on for the buttons: once in the normal button UI system, and then
again in the `mouse_nla_channels` function. The logic in
`mouse_nla_channels` does not inspect whether or not the setting button
is there or not, it just assumes that it is.
This function should no longer be handling mouse input for buttons
(there is even comment suggesting that the button handling to be
deprecated) since the button UI system already handles it. Therefore,
the button handling code has been removed from that
`mouse_nla_channels`.
In addition, the redundant mouse button handling for pressing the "Push
Down Action" button has also been removed from this function as well.
Reviewed By: sybren, lichtwerk
Differential Revision: https://developer.blender.org/D14868
Diffstat (limited to 'source/blender/editors/space_sequencer')
0 files changed, 0 insertions, 0 deletions