Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-11-03 03:42:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-11-03 03:42:07 +0300
commit7996b49cb050eb22fcc4305952d6c972c6c16f24 (patch)
tree36b39c6e532b1712c65e13dd219b61851fc64ccb /source/blender/draw/engines
parent8dbca01531f2f225cdb85a84dd3d52cde29d8121 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/draw/engines')
-rw-r--r--source/blender/draw/engines/overlay/overlay_engine.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/draw/engines/overlay/overlay_engine.c b/source/blender/draw/engines/overlay/overlay_engine.c
index 7f9e37f58d5..2bdceb5f3db 100644
--- a/source/blender/draw/engines/overlay/overlay_engine.c
+++ b/source/blender/draw/engines/overlay/overlay_engine.c
@@ -56,7 +56,7 @@ static void OVERLAY_engine_init(void *vedata)
OVERLAY_shader_library_ensure();
if (!stl->pd) {
- /* Alloc transient pointers */
+ /* Allocate transient pointers. */
stl->pd = MEM_callocN(sizeof(*stl->pd), __func__);
}
@@ -235,7 +235,7 @@ BLI_INLINE OVERLAY_DupliData *OVERLAY_duplidata_get(Object *ob, void *vedata, bo
*do_init = true;
}
else if ((*dupli_data)->base_flag != ob->base_flag) {
- /* Select state might have change, reinit. */
+ /* Select state might have change, reinitialize. */
*do_init = true;
}
return *dupli_data;
@@ -465,7 +465,7 @@ static void OVERLAY_cache_populate(void *vedata, Object *ob)
break;
case OB_LATTICE: {
/* Unlike the other types above, lattices actually have a bounding box defined, so hide the
- * lattice wires if only the boundingbox is requested. */
+ * lattice wires if only the bounding-box is requested. */
if (ob->dt > OB_BOUNDBOX) {
OVERLAY_lattice_cache_populate(vedata, ob);
}
@@ -478,7 +478,7 @@ static void OVERLAY_cache_populate(void *vedata, Object *ob)
OVERLAY_particle_cache_populate(vedata, ob);
}
- /* Relationship, object center, bounbox ... */
+ /* Relationship, object center, bounding-box... etc. */
if (!pd->hide_overlays) {
OVERLAY_extra_cache_populate(vedata, ob);
}
@@ -581,7 +581,7 @@ static void OVERLAY_draw_scene(void *vedata)
OVERLAY_extra_blend_draw(vedata);
OVERLAY_volume_draw(vedata);
- /* These overlays are drawn here to avoid artifacts with wireframe opacity. */
+ /* These overlays are drawn here to avoid artifacts with wire-frame opacity. */
switch (pd->ctx_mode) {
case CTX_MODE_SCULPT:
OVERLAY_sculpt_draw(vedata);