Cleanup: clang-format, spelling

This commit is contained in:
Campbell Barton
2021-02-12 07:47:02 +11:00
parent b6d7aa9e13
commit 35ddcb4041
5 changed files with 13 additions and 15 deletions

View File

@@ -1061,7 +1061,7 @@ void GHOST_SystemX11::processEvent(XEvent *xe)
* Note that:
* - This effectively 'lock' main number keys to always output number events
* (except when using alt-gr).
* - This enforces users to use an ascii-compatible keymap with Blender -
* - This enforces users to use an ASCII-compatible keymap with Blender -
* but at least it gives predictable and consistent results.
*
* Also, note that nothing in XLib sources [1] makes it obvious why those two functions give

View File

@@ -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;

View File

@@ -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;

View File

@@ -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

View File

@@ -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, ""},
};