Cleanup: spelling in comments

This commit is contained in:
Campbell Barton 2021-09-27 21:01:48 +10:00
parent 95af9317f0
commit e87783a5ec
6 changed files with 6 additions and 6 deletions

View File

@ -40,7 +40,7 @@
* There are two coordinate systems:
*
* - The screen coordinate system. The origin of the screen is located in the
* upper left corner of the screen.</li>
* upper left corner of the screen.
* - The client rectangle coordinate system. The client rectangle of a window
* is the area that is drawable by the application (excluding title bars etc.).
*/

View File

@ -728,7 +728,7 @@ void blo_do_versions_userdef(UserDef *userdef)
}
}
/* patch to set Dupli Lightprobes and Grease Pencil */
/* Patch to set dupli light-probes and grease-pencil. */
if (!USER_VERSION_ATLEAST(280, 58)) {
userdef->dupflag |= USER_DUP_LIGHTPROBE;
userdef->dupflag |= USER_DUP_GPENCIL;

View File

@ -696,7 +696,7 @@ void OVERLAY_light_cache_populate(OVERLAY_Data *vedata, Object *ob)
/** \} */
/* -------------------------------------------------------------------- */
/** \name Lightprobe
/** \name Light-probe
* \{ */
void OVERLAY_lightprobe_cache_populate(OVERLAY_Data *vedata, Object *ob)

View File

@ -1132,7 +1132,7 @@ static void particle_batch_cache_ensure_procedural_pos(PTCacheEdit *edit,
cache->point_tex = GPU_texture_create_from_vertbuf("part_point", cache->proc_point_buf);
}
/* Checking hair length seperatly, only allocating gpu memory when needed */
/* Checking hair length separately, only allocating gpu memory when needed. */
if (gpu_material && cache->proc_length_buf != NULL && cache->length_tex == NULL) {
ListBase gpu_attrs = GPU_material_attributes(gpu_material);
LISTBASE_FOREACH (GPUMaterialAttribute *, attr, &gpu_attrs) {

View File

@ -4409,7 +4409,7 @@ static int viewroll_modal(bContext *C, wmOperator *op, const wmEvent *event)
}
}
else if (ELEM(event->type, EVT_ESCKEY, RIGHTMOUSE)) {
/* Note this does not remove autokeys on locked cameras. */
/* Note this does not remove auto-keys on locked cameras. */
copy_qt_qt(vod->rv3d->viewquat, vod->init.quat);
ED_view3d_camera_lock_sync(vod->depsgraph, vod->v3d, vod->rv3d);
viewops_data_free(C, op);

View File

@ -79,7 +79,7 @@ static void sig_handle_fpe(int UNUSED(sig))
}
# endif
/* handling ctrl-c event in console */
/* Handling `Ctrl-C` event in the console. */
# if !defined(WITH_HEADLESS)
static void sig_handle_blender_esc(int sig)
{