Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-07-03 19:56:59 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-07-07 15:59:36 +0300
commit8b907a2b27573bd94933bf41f381eee50a611903 (patch)
treee0e2a3a542f5c51318b5ce265f951b8eb643eab4
parent89a7c765355eb8284adffdf9a66b23e0e1e783b9 (diff)
Fix T45281: IOR Value Slider with "Ctrl" modifier does not increment as intended.
Looks like a typo in rB1b8069bd?
-rw-r--r--source/blender/editors/interface/interface_handlers.c2
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 2ddb9a099cd..24d3e8c6719 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;