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 <campbell@blender.org>2022-10-03 02:24:08 +0300
committerCampbell Barton <campbell@blender.org>2022-10-03 03:03:46 +0300
commitea2c41c7306fa9d1af0d8aa3d675b45d38a2e806 (patch)
tree6cad791561fb0a6c1d2948c7f5736f2e8e4e65ea /source/blender/editors/mesh
parent55387197a7da2a9c19e1f267f689d21793ef6162 (diff)
Cleanup: spelling in comments
Also replace "dm" for evaluated mesh in some comments.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_loopcut.c2
-rw-r--r--source/blender/editors/mesh/editmesh_polybuild.c2
-rw-r--r--source/blender/editors/mesh/editmesh_select.cc12
3 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/mesh/editmesh_loopcut.c b/source/blender/editors/mesh/editmesh_loopcut.c
index 46d6cb4d006..63b0eb778d7 100644
--- a/source/blender/editors/mesh/editmesh_loopcut.c
+++ b/source/blender/editors/mesh/editmesh_loopcut.c
@@ -473,7 +473,7 @@ static int loopcut_init(bContext *C, wmOperator *op, const wmEvent *event)
static int ringcut_invoke(bContext *C, wmOperator *op, const wmEvent *event)
{
- /* When accessed as a tool, get the active edge from the preselection gizmo. */
+ /* When accessed as a tool, get the active edge from the pre-selection gizmo. */
{
ARegion *region = CTX_wm_region(C);
wmGizmoMap *gzmap = region->gizmo_map;
diff --git a/source/blender/editors/mesh/editmesh_polybuild.c b/source/blender/editors/mesh/editmesh_polybuild.c
index 06565fbf314..bf9664fa10d 100644
--- a/source/blender/editors/mesh/editmesh_polybuild.c
+++ b/source/blender/editors/mesh/editmesh_polybuild.c
@@ -73,7 +73,7 @@ static void edbm_flag_disable_all_multi(const Scene *scene,
MEM_freeN(objects);
}
-/* When accessed as a tool, get the active edge from the preselection gizmo. */
+/** When accessed as a tool, get the active edge from the pre-selection gizmo. */
static bool edbm_preselect_or_active(bContext *C, const View3D *v3d, Base **r_base, BMElem **r_ele)
{
ARegion *region = CTX_wm_region(C);
diff --git a/source/blender/editors/mesh/editmesh_select.cc b/source/blender/editors/mesh/editmesh_select.cc
index 7c72cb2cae2..675540bea73 100644
--- a/source/blender/editors/mesh/editmesh_select.cc
+++ b/source/blender/editors/mesh/editmesh_select.cc
@@ -269,7 +269,7 @@ BMVert *EDBM_vert_find_nearest_ex(ViewContext *vc,
uint index;
BMVert *eve;
- /* No afterqueue (yet), so we check it now, otherwise the bm_xxxofs indices are bad. */
+ /* No after-queue (yet), so we check it now, otherwise the bm_xxxofs indices are bad. */
{
DRW_select_buffer_context_create(bases, bases_len, SCE_SELECT_VERTEX);
@@ -495,7 +495,7 @@ BMEdge *EDBM_edge_find_nearest_ex(ViewContext *vc,
uint index;
BMEdge *eed;
- /* No afterqueue (yet), so we check it now, otherwise the bm_xxxofs indices are bad. */
+ /* No after-queue (yet), so we check it now, otherwise the bm_xxxofs indices are bad. */
{
DRW_select_buffer_context_create(bases, bases_len, SCE_SELECT_EDGE);
@@ -877,7 +877,7 @@ static bool unified_findnearest(ViewContext *vc,
} f, f_zbuf;
} hit = {{nullptr}};
- /* no afterqueue (yet), so we check it now, otherwise the em_xxxofs indices are bad */
+ /* No after-queue (yet), so we check it now, otherwise the em_xxxofs indices are bad. */
if ((dist > 0.0f) && (em->selectmode & SCE_SELECT_FACE)) {
float dist_center = 0.0f;
@@ -3225,7 +3225,7 @@ static void select_linked_delimit_begin(BMesh *bm, int delimit)
}
}
- /* grr, shouldn't need to alloc BMO flags here */
+ /* Shouldn't need to allocated BMO flags here (sigh). */
BM_mesh_elem_toolflags_ensure(bm);
{
@@ -4199,7 +4199,7 @@ static void walker_deselect_nth(BMEditMesh *em,
break;
}
- /* grr, shouldn't need to alloc BMO flags here */
+ /* Shouldn't need to allocate BMO flags here (sigh). */
BM_mesh_elem_toolflags_ensure(bm);
/* Walker restrictions uses BMO flags, not header flags,
@@ -4218,7 +4218,7 @@ static void walker_deselect_nth(BMEditMesh *em,
mask_vert,
mask_edge,
mask_face,
- BMW_FLAG_NOP, /* don't use BMW_FLAG_TEST_HIDDEN here since we want to desel all */
+ BMW_FLAG_NOP, /* Don't use #BMW_FLAG_TEST_HIDDEN here since we want to deselect all. */
BMW_NIL_LAY);
/* use tag to avoid touching the same verts twice */