[Bf-blender-cvs] [de0801c3d6e] master: Cleanup: clang-format
Campbell Barton
noreply at git.blender.org
Tue Feb 9 23:40:16 CET 2021
Commit: de0801c3d6e143cfa639e1df4fc852b0493a1308
Author: Campbell Barton
Date: Wed Feb 10 07:57:51 2021 +1100
Branches: master
https://developer.blender.org/rBde0801c3d6e143cfa639e1df4fc852b0493a1308
Cleanup: clang-format
===================================================================
M source/blender/editors/transform/transform_mode_shrink_fatten.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list