Blender Git Commit Log

Git Commits -> Revision e4e2148

Revision e4e2148 by Campbell Barton (master)
February 22, 2016, 23:15 (GMT)
Fix button display clamping values

Displaying a button would clamp the value if the button was outside the range.
This could be OK in some cases,
however it's problematic with object dimensions which would re-scale objects on showing the panel.

Add `ui_but_update_edited` when its OK to modify the value.

Commit Details:

Full Hash: e4e21480d6331903c90ab073746484498441e1ac
Parent Commit: adab35b
Lines Changed: +48, -19

3 Modified Paths:

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