Blender Git Loki
Git Commits -> Revision 92f8a6a
Revision 92f8a6a by Philipp Oeser (master) June 3, 2021, 12:16 (GMT) |
Fix T88762: UI using tab to enter next button could clamp the hard min/ max unneccessarily Since rB298d5eb66916 [which was needed to update buttons with custom property range functions correctly], using tab would always clamp (hardmin/hardmax) properties which were using FLT_MAX / INT_MAX as range in their property definitions. The clamping of rB298d5eb66916 was copied over from rB9b7f44ceb56c [where it was used for the softmin/softmax], and while the re-evaluation of hardmin/hardmax is needed for custom property range functions, the clamping should actually not take place. There are many properties using FLT_MAX / INT_MAX etc. and while it probably would be good to update these with ranges that make more sense -- not using FLT_MAX / INT_MAX would not have done the clamping here -- there should not be an arbitrary limit to these and they should stay as they are. Maniphest Tasks: T88762 Differential Revision: https://developer.blender.org/D11473 |
Commit Details:
Full Hash: 92f8a6ac21acee5ee1d5151ddf11570afcaa64a8
Parent Commit: 7b8d812
Lines Changed: +4, -6
1 Modified Path:
/source/blender/editors/interface/interface.c (+4, -6) (Diff)