From adaa55cecc33a08a89444aa2c90e2ac11d204945 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 29 Mar 2024 11:58:14 +0100 Subject: [PATCH] Cleanup: Code formatting Pull Request: https://projects.blender.org/blender/blender/pulls/120055 --- source/blender/editors/interface/interface_handlers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/interface/interface_handlers.cc b/source/blender/editors/interface/interface_handlers.cc index f13eda65351..13237003819 100644 --- a/source/blender/editors/interface/interface_handlers.cc +++ b/source/blender/editors/interface/interface_handlers.cc @@ -5015,7 +5015,7 @@ static float ui_numedit_apply_snapf( /* snapping by 10's for float buttons is quite annoying (location, scale...), * but allow for rotations */ if (softrange >= 21.0f) { - const UnitSettings *unit = but->block->unit; + const UnitSettings *unit = but->block->unit; const int unit_type = UI_but_unit_type_get(but); if ((unit_type == PROP_UNIT_ROTATION) && (unit->system_rotation != USER_UNIT_ROT_RADIANS)) { /* Pass (degrees). */