From 35ddcb4041e0c98f9a77827e0b8b031c83cec253 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 12 Feb 2021 07:47:02 +1100 Subject: Cleanup: clang-format, spelling --- source/blender/editors/sculpt_paint/paint_mask.c | 2 -- source/blender/editors/space_node/node_draw.c | 4 ++-- source/blender/imbuf/IMB_imbuf.h | 2 +- .../nodes/geometry/nodes/node_geo_join_geometry.cc | 18 +++++++++--------- 4 files changed, 12 insertions(+), 14 deletions(-) (limited to 'source/blender') diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c index bacb3b549e3..26e2bcc42cf 100644 --- a/source/blender/editors/sculpt_paint/paint_mask.c +++ b/source/blender/editors/sculpt_paint/paint_mask.c @@ -1073,8 +1073,6 @@ static void sculpt_gesture_trim_calculate_depth(SculptGestureContext *sgcontext) mid_point_depth = ss->gesture_initial_hit ? 0.0f : (trim_operation->depth_back + trim_operation->depth_front) * 0.5f; - - } const float depth_radius = ss->cursor_radius; diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index 9ef914af75b..c7be5f848f7 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -1153,8 +1153,8 @@ void node_draw_sockets(const View2D *v2d, GPU_program_point_size(false); GPU_blend(GPU_BLEND_NONE); - /* Draw multi-nput sockets after the others because they are drawn with "UI_roundbox" - * rather than with GL_POINT. */ + /* Draw multi-input sockets after the others because they are drawn with `UI_draw_roundbox` + * rather than with `GL_POINT`. */ LISTBASE_FOREACH (bNodeSocket *, socket, &node->inputs) { if (nodeSocketIsHidden(socket)) { continue; diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index 8866a8a8600..d131e4dacdc 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -27,7 +27,7 @@ * This module offers import/export of several graphical file formats. * \ingroup imbuf * - * \page IMB Imbuf module external interface + * \page IMB ImBuf module external interface * \section imb_about About the IMB module * * External interface of the IMage Buffer module. This module offers diff --git a/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc b/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc index a56939a43c7..ca2e1be6e6f 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc @@ -25,15 +25,15 @@ static bNodeSocketTemplate geo_node_join_geometry_in[] = { {SOCK_GEOMETRY, - N_("Geometry"), - 0.0f, - 0.0f, - 0.0f, - 1.0f, - -1.0f, - 1.0f, - PROP_NONE, - SOCK_MULTI_INPUT}, + N_("Geometry"), + 0.0f, + 0.0f, + 0.0f, + 1.0f, + -1.0f, + 1.0f, + PROP_NONE, + SOCK_MULTI_INPUT}, {-1, ""}, }; -- cgit v1.2.3