Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorLukas Stockner <lukas.stockner@freenet.de>2020-10-31 03:55:44 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2020-10-31 03:57:39 +0300
commit523414dda2bf81b69b1c04e1145ac21758fa4268 (patch)
treee93958c16fa10bd3886db505346784a2d86dbdd8 /source
parent316a5914bcc668d5c497881a1a0e5da81ebe7aaf (diff)
Cleanup: clang-format
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/sculpt_paint/paint_mask.c5
-rw-r--r--source/blender/windowmanager/intern/wm_files.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c
index 823ab525ab2..96d34dd6145 100644
--- a/source/blender/editors/sculpt_paint/paint_mask.c
+++ b/source/blender/editors/sculpt_paint/paint_mask.c
@@ -999,8 +999,9 @@ static void sculpt_gesture_trim_normals_update(SculptGestureContext *sgcontext)
/* Get the origin and normal that are going to be used for calculating the depth and position the
* trimming geometry. */
-static void sculpt_gesture_trim_shape_origin_normal_get(
- SculptGestureContext *sgcontext, float *r_origin, float *r_normal)
+static void sculpt_gesture_trim_shape_origin_normal_get(SculptGestureContext *sgcontext,
+ float *r_origin,
+ float *r_normal)
{
SculptGestureTrimOperation *trim_operation = (SculptGestureTrimOperation *)sgcontext->operation;
/* Use the view origin and normal in world space. The trimming mesh coordinates are
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 0a60d993c37..19e4adde19c 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -3265,10 +3265,7 @@ static uiBlock *block_create__close_file_dialog(struct bContext *C,
/* Modified Images Checkbox. */
if (modified_images_count > 0) {
char message[64];
- BLI_snprintf(message,
- sizeof(message),
- "Save %u modified image(s)",
- modified_images_count);
+ BLI_snprintf(message, sizeof(message), "Save %u modified image(s)", modified_images_count);
uiItemS(layout);
uiDefButBitC(block,
UI_BTYPE_CHECKBOX,