Cleanup: Code formatting

Pull Request: https://projects.blender.org/blender/blender/pulls/120055
This commit is contained in:
Sergey Sharybin 2024-03-29 11:58:14 +01:00 committed by Sergey Sharybin
parent d174959759
commit adaa55cecc
1 changed files with 1 additions and 1 deletions

View File

@ -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). */