diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-01-14 21:24:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-01-14 21:36:07 +0300 |
commit | 63a718e50f4b6077324e76918d477b20085709cd (patch) | |
tree | c781492f3223abbac588699f18f17929d0b103e6 /source | |
parent | 76197a2b96e2dba436d6466ef04757b1063d591e (diff) |
Cleanup: warning, whitespace
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 8 | ||||
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 2 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 2b708a84e16..8406f65dbe9 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -3251,7 +3251,7 @@ static void do_brush_action(Sculpt *sd, Object *ob, Brush *brush, UnifiedPaintSe }; BLI_task_parallel_range_ex(0, totnode, &task_data, NULL, 0, do_brush_action_task_cb, - ((sd->flags & SCULPT_USE_OPENMP) && totnode > SCULPT_OMP_LIMIT), false); + ((sd->flags & SCULPT_USE_OPENMP) && totnode > SCULPT_OMP_LIMIT), false); if (sculpt_brush_needs_normal(brush)) update_sculpt_normal(sd, ob, nodes, totnode); @@ -3431,7 +3431,7 @@ static void sculpt_combine_proxies(Sculpt *sd, Object *ob) }; BLI_task_parallel_range_ex(0, totnode, &data, NULL, 0, sculpt_combine_proxies_task_cb, - ((sd->flags & SCULPT_USE_OPENMP) && totnode > SCULPT_OMP_LIMIT), false); + ((sd->flags & SCULPT_USE_OPENMP) && totnode > SCULPT_OMP_LIMIT), false); } if (nodes) @@ -3507,11 +3507,11 @@ static void sculpt_flush_stroke_deform(Sculpt *sd, Object *ob) SculptThreadedTaskData data = { .sd = sd, .ob = ob, .brush = brush, .nodes = nodes, - .vertCos = vertCos, + .vertCos = vertCos, }; BLI_task_parallel_range_ex(0, totnode, &data, NULL, 0, sculpt_flush_stroke_deform_task_cb, - ((sd->flags & SCULPT_USE_OPENMP) && totnode > SCULPT_OMP_LIMIT), false); + ((sd->flags & SCULPT_USE_OPENMP) && totnode > SCULPT_OMP_LIMIT), false); if (vertCos) { sculpt_vertcos_to_key(ob, ss->kb, vertCos); diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index c41fd1ceb4f..fb3fd60a6f3 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -1055,7 +1055,7 @@ static void node_shader_buts_anisotropic(uiLayout *layout, bContext *UNUSED(C), uiItemR(layout, ptr, "distribution", 0, "", ICON_NONE); } -static void node_shader_buts_subsurface(uiLayout *layout, bContext *C, PointerRNA *ptr) +static void node_shader_buts_subsurface(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { uiItemR(layout, ptr, "falloff", 0, "", ICON_NONE); } diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index d338b499114..0767121bc1f 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -1182,7 +1182,7 @@ static int pyrna_string_to_enum(PyObject *item, PointerRNA *ptr, PropertyRNA *pr * * Useful when the values aren't flags. * - * \param type_convert_sign: Maps signed to unsuigned range, + * \param type_convert_sign: Maps signed to unsigned range, * needed when we want to use the full range of a signed short/char. */ BLI_bitmap *pyrna_set_to_enum_bitmap( |