Cleanup: spelling in comments
This commit is contained in:
parent
b87b33adbf
commit
715f57371b
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue