diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-07-09 16:38:31 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-07-31 11:47:52 +0300 |
commit | 298d5eb66916c6379f2a4203dd7502dae7db8939 (patch) | |
tree | d7c9488f56e6db7a5936c49029a8ea4dec3f6bae /tests/gtests | |
parent | 8c375113b5c317e6cf77889714b9fd248dc9c871 (diff) |
UI: fix buttons ranges not properly updated when tabbing to next/previous
button
This was reported for the FCurve modifier restrict ranges, but might fail
elsewhere, too. Reason is that the post_but has its range (hardmin/
hardmax etc) set before the updates to the active button take place, so
changes here dont end up on the post_but (even though the RNA range
function is properly called for a new defined button - new one is not the
same as the post_but though).
Now update the ranges on the post_but when that gets active.
Fixes T78763
Maniphest Tasks: T78763
Differential Revision: https://developer.blender.org/D8265
Diffstat (limited to 'tests/gtests')
0 files changed, 0 insertions, 0 deletions