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>2021-02-11 23:47:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-11 23:49:40 +0300
commit35ddcb4041e0c98f9a77827e0b8b031c83cec253 (patch)
tree6773aa48d3f95cadcbf32235494a1c2792439ee6 /source/blender/editors
parentb6d7aa9e137488a758be23e841983827c5230e14 (diff)
Cleanup: clang-format, spelling
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/sculpt_paint/paint_mask.c2
-rw-r--r--source/blender/editors/space_node/node_draw.c4
2 files changed, 2 insertions, 4 deletions
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;