Blender Git Commit Log

Git Commits -> Revision 298d5eb

Revision 298d5eb by Philipp Oeser (master)
July 31, 2020, 08:47 (GMT)
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

Commit Details:

Full Hash: 298d5eb66916c6379f2a4203dd7502dae7db8939
Parent Commit: 8c37511
Lines Changed: +40, -2

3 Modified Paths:

/source/blender/editors/interface/interface.c (+32, -2) (Diff)
/source/blender/editors/interface/interface_handlers.c (+5, -0) (Diff)
/source/blender/editors/interface/interface_intern.h (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021