diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-02-09 23:57:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-02-10 01:29:48 +0300 |
commit | de0801c3d6e143cfa639e1df4fc852b0493a1308 (patch) | |
tree | fdc7ae1e4f58f5fa77a0e30898e1c15db8fd52ff /source/blender/editors/transform | |
parent | 048dd8454cb9c50dc757a4bcbcacecf3fd8966e1 (diff) |
Cleanup: clang-format
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform_mode_shrink_fatten.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_mode_shrink_fatten.c b/source/blender/editors/transform/transform_mode_shrink_fatten.c index a392a354449..6e497d85417 100644 --- a/source/blender/editors/transform/transform_mode_shrink_fatten.c +++ b/source/blender/editors/transform/transform_mode_shrink_fatten.c @@ -84,8 +84,13 @@ static void applyShrinkFatten(TransInfo *t, const int UNUSED(mval[2])) else { /* default header print */ if (unit != NULL) { - ofs += BKE_unit_value_as_string( - str + ofs, sizeof(str) - ofs, distance * unit->scale_length, 4, B_UNIT_LENGTH, unit, true); + ofs += BKE_unit_value_as_string(str + ofs, + sizeof(str) - ofs, + distance * unit->scale_length, + 4, + B_UNIT_LENGTH, + unit, + true); } else { ofs += BLI_snprintf(str + ofs, sizeof(str) - ofs, "%.4f", distance); |