diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-07-03 19:56:59 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-07-03 19:56:59 +0300 |
commit | c503d1735351a74c43a3ae26c7ff774e940f2a26 (patch) | |
tree | 5b677d563804f610cc9ebc625808a18cb469365f /source/blender | |
parent | e42609db49b5ececb989167f5e1c14e5cff4ce4d (diff) |
Fix T45281: IOR Value Slider with "Ctrl" modifier does not increment as intended.
Looks like a typo in rB1b8069bd?
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index e80afa825de..3de770aa752 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -3934,7 +3934,7 @@ static float ui_numedit_apply_snapf( /* workaround, too high snapping values */ /* snapping by 10's for float buttons is quite annoying (location, scale...), * but allow for rotations */ - if ((softrange > 2100.0f)) { + if (softrange >= 21.0f) { int unit_type = UI_but_unit_type_get(but); if (!ELEM(unit_type, PROP_UNIT_ROTATION)) { softrange = 20.0f; |