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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-07-02 19:45:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-02 19:45:26 +0300
commitdbe1b07e058db33a9e806d8e9808463d563d4aa5 (patch)
tree79ba8e3a9adc48cb55f5e7f35f82f1d90bc6e2b5 /source/blender/editors/sculpt_paint/paint_mask.c
parent73c577d46a2fd99c519ce7ef0fd9deb3b914099f (diff)
Cleanup: right shift
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_mask.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_mask.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c
index 76b629395e2..e0fdcc0c7c8 100644
--- a/source/blender/editors/sculpt_paint/paint_mask.c
+++ b/source/blender/editors/sculpt_paint/paint_mask.c
@@ -76,9 +76,10 @@ static const EnumPropertyItem mode_items[] = {
{0}};
-static void mask_flood_fill_set_elem(float *elem,
- PaintMaskFloodMode mode,
- float value)
+static void mask_flood_fill_set_elem(
+ float *elem,
+ PaintMaskFloodMode mode,
+ float value)
{
switch (mode) {
case PAINT_MASK_FLOOD_VALUE:
@@ -162,8 +163,9 @@ static int mask_flood_fill_exec(bContext *C, wmOperator *op)
BLI_parallel_range_settings_defaults(&settings);
settings.use_threading = ((sd->flags & SCULPT_USE_OPENMP) && totnode > SCULPT_THREADED_LIMIT);
BLI_task_parallel_range(
- 0, totnode, &data, mask_flood_fill_task_cb,
- &settings);
+
+ 0, totnode, &data, mask_flood_fill_task_cb,
+ &settings);
if (multires)
multires_mark_as_modified(ob, MULTIRES_COORDS_MODIFIED);