Cleanup: spelling in comments

This commit is contained in:
2022-01-26 16:06:22 +11:00
parent 94d2a611ec
commit b06fff4737
9 changed files with 17 additions and 13 deletions

View File

@@ -72,7 +72,7 @@ void BKE_crazyspace_build_sculpt(struct Depsgraph *depsgraph,
float (**deformcos)[3]);
/* -------------------------------------------------------------------- */
/** \name Crazyspace API
/** \name Crazy-Space API
* \{ */
void BKE_crazyspace_api_eval(struct Depsgraph *depsgraph,

View File

@@ -157,7 +157,8 @@ int BKE_layer_collection_findindex(struct ViewLayer *view_layer, const struct La
void BKE_layer_collection_resync_forbid(void);
void BKE_layer_collection_resync_allow(void);
/** Helper to fix older pre-2.80 blendfiles.
/**
* Helper to fix older pre-2.80 blend-files.
*
* Ensures the given `view_layer` as a valid first-level layer collection, i.e. a single one
* matching the scene's master collection. This is a requirement for `BKE_layer_collection_sync`.

View File

@@ -462,7 +462,7 @@ void BKE_lib_id_make_local_generic_action_define(
BLI_assert(force_copy == false || force_copy != force_local);
if (force_local || force_copy) {
/* Already set by caller code, nothig to do here. */
/* Already set by caller code, nothing to do here. */
*r_force_local = force_local;
*r_force_copy = force_copy;
return;

View File

@@ -4572,7 +4572,7 @@ Mesh *BKE_object_get_editmesh_eval_final(const Object *object)
const Mesh *mesh = static_cast<const Mesh *>(object->data);
if (mesh->edit_mesh == nullptr) {
/* Heppens when requesting material of evaluated 3d font obejct: the evaluated object get
/* Happens when requesting material of evaluated 3d font object: the evaluated object get
* converted to mesh, and it does not have edit mesh. */
return nullptr;
}