Cleanup: spelling in comments

This commit is contained in:
Campbell Barton
2024-03-09 16:47:38 +11:00
parent c8706feb2d
commit 32151abfc3
3 changed files with 3 additions and 3 deletions
@@ -1718,7 +1718,7 @@ static void createTransEditVerts(bContext * /*C*/, TransInfo *t)
/* WORKAROUND: The transform operators rely on looptris being up-to-date.
* However, this is not always the case, especially when called from scripts.
* If this happens, to prevent update issues, make sure the size of #BMEditMesh::looptris
* arrays aligns with the number lootris to update. */
* arrays aligns with the number looptris to update. */
const bool looptri_is_dirty = em->tottri != poly_to_tri_count(bm->totface, bm->totloop);
if (looptri_is_dirty) {
BKE_editmesh_looptris_calc(em);
@@ -3,7 +3,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later */
/** Type aliases. */
/** IMPORTANT: Be warry of size and alignment matching for types that are present
/** IMPORTANT: Be wary of size and alignment matching for types that are present
* in C++ shared code. */
/* Boolean in GLSL are 32bit in interface structs. */
+1 -1
View File
@@ -1060,7 +1060,7 @@ static void rna_ID_update_tag(ID *id, Main *bmain, ReportList *reports, int flag
allow_flag = OB_RECALC_ALL | PSYS_RECALC;
break;
# endif
case ID_AC: /* Fallthrough. */
case ID_AC: /* Fall-through. */
case ID_AN:
allow_flag = ID_RECALC_ANIMATION;
break;