[Bf-blender-cvs] [63a718e] master: Cleanup: warning, whitespace

Campbell Barton noreply at git.blender.org
Thu Jan 14 19:43:50 CET 2016


Commit: 63a718e50f4b6077324e76918d477b20085709cd
Author: Campbell Barton
Date:   Fri Jan 15 05:24:15 2016 +1100
Branches: master
https://developer.blender.org/rB63a718e50f4b6077324e76918d477b20085709cd

Cleanup: warning, whitespace

===================================================================

M	source/blender/editors/sculpt_paint/sculpt.c
M	source/blender/editors/space_node/drawnode.c
M	source/blender/python/intern/bpy_rna.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 2b708a8..8406f65 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 c41fd1c..fb3fd60 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 d338b49..0767121 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(




More information about the Bf-blender-cvs mailing list