Cleanup: Code formatting
Pull Request: https://projects.blender.org/blender/blender/pulls/120055
This commit is contained in:
parent
d174959759
commit
adaa55cecc
|
@ -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). */
|
||||
|
|
Loading…
Reference in New Issue