diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-10 13:28:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-10 13:28:56 +0300 |
commit | 715f57371baa627ca677a8faf88e56ebb1180027 (patch) | |
tree | 29ae6f36d7f28f12736ef69b4343950fe235694b /source | |
parent | b87b33adbfa0dbf2273ee0898ae010cc2510eff7 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/BLI_ghash.h | 4 | ||||
-rw-r--r-- | source/blender/bmesh/intern/bmesh_operator_api.h | 4 | ||||
-rw-r--r-- | source/blender/bmesh/intern/bmesh_polygon.h | 2 | ||||
-rw-r--r-- | source/blender/bmesh/intern/bmesh_query.h | 2 | ||||
-rw-r--r-- | source/blender/editors/include/ED_screen.h | 2 | ||||
-rw-r--r-- | source/blender/editors/space_graph/graph_slider_ops.c | 2 | ||||
-rw-r--r-- | source/blender/imbuf/intern/openexr/openexr_api.h | 2 | ||||
-rw-r--r-- | source/blender/io/collada/MeshImporter.h | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/blenlib/BLI_ghash.h b/source/blender/blenlib/BLI_ghash.h index 2c03ce22a6b..b688712469f 100644 --- a/source/blender/blenlib/BLI_ghash.h +++ b/source/blender/blenlib/BLI_ghash.h @@ -568,8 +568,8 @@ unsigned int BLI_ghashutil_ptrhash(const void *key); bool BLI_ghashutil_ptrcmp(const void *a, const void *b); /** - * This function implements the widely used "djb" hash apparently posted - * by Daniel Bernstein to comp.lang.c some time ago. The 32 bit + * This function implements the widely used `djb` hash apparently posted + * by Daniel Bernstein to `comp.lang.c` some time ago. The 32 bit * unsigned hash value starts at 5381 and for each byte 'c' in the * string, is updated: `hash = hash * 33 + c`. * This function uses the signed value of each byte. diff --git a/source/blender/bmesh/intern/bmesh_operator_api.h b/source/blender/bmesh/intern/bmesh_operator_api.h index 216726f0a83..c60e8af68e5 100644 --- a/source/blender/bmesh/intern/bmesh_operator_api.h +++ b/source/blender/bmesh/intern/bmesh_operator_api.h @@ -390,13 +390,13 @@ int BMO_mesh_disabled_flag_count(BMesh *bm, const char htype, const short oflag) /** * \brief BMESH OPSTACK PUSH * - * Pushes the opstack down one level and allocates a new flag layer if appropriate. + * Pushes the operator-stack down one level and allocates a new flag layer if appropriate. */ void BMO_push(BMesh *bm, BMOperator *op); /** * \brief BMESH OPSTACK POP * - * Pops the opstack one level and frees a flag layer if appropriate + * Pops the operator-stack one level and frees a flag layer if appropriate * * BMESH_TODO: investigate NOT freeing flag layers. */ diff --git a/source/blender/bmesh/intern/bmesh_polygon.h b/source/blender/bmesh/intern/bmesh_polygon.h index 11f578fc6ff..e4545e610a0 100644 --- a/source/blender/bmesh/intern/bmesh_polygon.h +++ b/source/blender/bmesh/intern/bmesh_polygon.h @@ -200,7 +200,7 @@ bool BM_face_point_inside_test(const BMFace *f, const float co[3]) ATTR_WARN_UNU * \brief BMESH TRIANGULATE FACE * * Breaks all quads and ngons down to triangles. - * It uses polyfill for the ngons splitting, and + * It uses poly-fill for the ngons splitting, and * the beautify operator when use_beauty is true. * * \param r_faces_new: if non-null, must be an array of BMFace pointers, diff --git a/source/blender/bmesh/intern/bmesh_query.h b/source/blender/bmesh/intern/bmesh_query.h index a88215c0e07..9c4dc169589 100644 --- a/source/blender/bmesh/intern/bmesh_query.h +++ b/source/blender/bmesh/intern/bmesh_query.h @@ -725,7 +725,7 @@ int BM_mesh_calc_face_groups(BMesh *bm, * Calculate isolated groups of edges with optional filtering. * * \param bm: the BMesh. - * \param r_groups_array: Array of ints to fill in, length of bm->totedge + * \param r_groups_array: Array of ints to fill in, length of `bm->totedge` * (or when hflag_test is set, the number of flagged edges). * \param r_group_index: index, length pairs into \a r_groups_array, size of return value * int pairs: (array_start, array_length). diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index 5db49357540..76bbc899aba 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -440,7 +440,7 @@ bool ED_workspace_delete(struct WorkSpace *workspace, */ void ED_workspace_scene_data_sync(struct WorkSpaceInstanceHook *hook, Scene *scene) ATTR_NONNULL(); /** - * Make sure there is a non-fullscreen layout to switch to that is not used yet by an other window. + * Make sure there is a non-full-screen layout to switch to that isn't used yet by an other window. * Needed for workspace or screen switching to ensure valid screens. * * \param layout_fallback_base: As last resort, this layout is duplicated and returned. diff --git a/source/blender/editors/space_graph/graph_slider_ops.c b/source/blender/editors/space_graph/graph_slider_ops.c index 9bd5c6ede84..0bb5e8b8d9c 100644 --- a/source/blender/editors/space_graph/graph_slider_ops.c +++ b/source/blender/editors/space_graph/graph_slider_ops.c @@ -278,7 +278,7 @@ static int graph_slider_modal(bContext *C, wmOperator *op, const wmEvent *event) break; } - /* Unhandled event - maybe it was some view manip? */ + /* Unhandled event - maybe it was some view manipulation? */ /* Allow to pass through. */ return OPERATOR_RUNNING_MODAL | OPERATOR_PASS_THROUGH; } diff --git a/source/blender/imbuf/intern/openexr/openexr_api.h b/source/blender/imbuf/intern/openexr/openexr_api.h index 2636bb0d820..14336620926 100644 --- a/source/blender/imbuf/intern/openexr/openexr_api.h +++ b/source/blender/imbuf/intern/openexr/openexr_api.h @@ -34,7 +34,7 @@ void imb_exitopenexr(void); /** * Test presence of OpenEXR file. - * \param mem: pointer to loaded OpenEXR bitstream + * \param mem: pointer to loaded OpenEXR bit-stream. */ bool imb_is_a_openexr(const unsigned char *mem, const size_t size); diff --git a/source/blender/io/collada/MeshImporter.h b/source/blender/io/collada/MeshImporter.h index d8765c6f033..95ac32a1b4c 100644 --- a/source/blender/io/collada/MeshImporter.h +++ b/source/blender/io/collada/MeshImporter.h @@ -144,7 +144,7 @@ class MeshImporter : public MeshImporterBase { * This function is copied from source/blender/editors/mesh/mesh_data.c * * TODO: (As discussed with sergey-) : - * Maybe move this function to blenderkernel/intern/mesh.c + * Maybe move this function to `blenderkernel/intern/mesh.c`. * and add definition to BKE_mesh.c. */ static void mesh_add_edges(Mesh *mesh, int len); |