Cleanup: spelling in comments
This commit is contained in:
@@ -1714,7 +1714,7 @@ bool BKE_id_new_name_validate(ListBase *lb, ID *id, const char *tname, const boo
|
||||
bool result = false;
|
||||
char name[MAX_ID_NAME - 2];
|
||||
|
||||
/* If library, don't rename (unless explicitely required), but do ensure proper sorting. */
|
||||
/* If library, don't rename (unless explicitly required), but do ensure proper sorting. */
|
||||
if (!do_linked_data && ID_IS_LINKED(id)) {
|
||||
id_sort_by_name(lb, id, NULL);
|
||||
|
||||
|
||||
@@ -192,8 +192,8 @@ struct NodeOperationFlags {
|
||||
bool open_cl : 1;
|
||||
|
||||
/**
|
||||
* TODO: Remove this flag and SingleThreadedOperation if tiled implemention is removed.
|
||||
* Full-frame implemention doesn't need it.
|
||||
* TODO: Remove this flag and #SingleThreadedOperation if tiled implementation is removed.
|
||||
* Full-frame implementation doesn't need it.
|
||||
*/
|
||||
bool single_threaded : 1;
|
||||
|
||||
|
||||
@@ -149,7 +149,7 @@ void OVERLAY_edit_mesh_cache_init(OVERLAY_Data *vedata)
|
||||
DRWState state_common = DRW_STATE_WRITE_COLOR | DRW_STATE_DEPTH_LESS_EQUAL |
|
||||
DRW_STATE_BLEND_ALPHA;
|
||||
/* Faces */
|
||||
/* Cage geom needs to be offsetted to avoid Z-fighting. */
|
||||
/* Cage geom needs an offset applied to avoid Z-fighting. */
|
||||
for (int j = 0; j < 2; j++) {
|
||||
DRWPass **edit_face_ps = (j == 0) ? &psl->edit_mesh_faces_ps[i] :
|
||||
&psl->edit_mesh_faces_cage_ps[i];
|
||||
@@ -197,7 +197,7 @@ void OVERLAY_edit_mesh_cache_init(OVERLAY_Data *vedata)
|
||||
grp = pd->edit_mesh_skin_roots_grp[i] = DRW_shgroup_create(sh, psl->edit_mesh_verts_ps[i]);
|
||||
DRW_shgroup_uniform_block(grp, "globalsBlock", G_draw.block_ubo);
|
||||
}
|
||||
/* Facedots */
|
||||
/* Face-dots */
|
||||
if (select_face && show_face_dots) {
|
||||
sh = OVERLAY_shader_edit_mesh_facedot();
|
||||
grp = pd->edit_mesh_facedots_grp[i] = DRW_shgroup_create(sh, psl->edit_mesh_verts_ps[i]);
|
||||
|
||||
@@ -549,7 +549,7 @@ const MeshExtract extract_points = {.init = extract_points_init,
|
||||
/** \} */
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
/** \name Extract Facedots Indices
|
||||
/** \name Extract Face-dots Indices
|
||||
* \{ */
|
||||
|
||||
static void *extract_fdots_init(const MeshRenderData *mr,
|
||||
@@ -1098,7 +1098,7 @@ const MeshExtract extract_edituv_points = {
|
||||
/** \} */
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
/** \name Extract Edit UV Facedots Indices
|
||||
/** \name Extract Edit UV Face-dots Indices
|
||||
* \{ */
|
||||
|
||||
static void *extract_edituv_fdots_init(const MeshRenderData *mr,
|
||||
@@ -4044,7 +4044,7 @@ const MeshExtract extract_mesh_analysis = {
|
||||
/** \} */
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
/** \name Extract Facedots positions
|
||||
/** \name Extract Face-dots positions
|
||||
* \{ */
|
||||
|
||||
static void *extract_fdots_pos_init(const MeshRenderData *mr,
|
||||
@@ -4124,7 +4124,7 @@ const MeshExtract extract_fdots_pos = {
|
||||
/** \} */
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
/** \name Extract Facedots Normal and edit flag
|
||||
/** \name Extract Face-dots Normal and edit flag
|
||||
* \{ */
|
||||
#define NOR_AND_FLAG_DEFAULT 0
|
||||
#define NOR_AND_FLAG_SELECT 1
|
||||
@@ -4206,7 +4206,7 @@ const MeshExtract extract_fdots_nor = {
|
||||
/** \} */
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
/** \name Extract Facedots High Quality Normal and edit flag
|
||||
/** \name Extract Face-dots High Quality Normal and edit flag
|
||||
* \{ */
|
||||
static void *extract_fdots_nor_hq_init(const MeshRenderData *mr,
|
||||
struct MeshBatchCache *UNUSED(cache),
|
||||
@@ -4283,7 +4283,7 @@ const MeshExtract extract_fdots_nor_hq = {
|
||||
/** \} */
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
/** \name Extract Facedots UV
|
||||
/** \name Extract Face-dots UV
|
||||
* \{ */
|
||||
|
||||
typedef struct MeshExtract_FdotUV_Data {
|
||||
@@ -4382,7 +4382,7 @@ const MeshExtract extract_fdots_uv = {
|
||||
/** \} */
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
/** \name Extract Facedots Edit UV flag
|
||||
/** \name Extract Face-dots Edit UV flag
|
||||
* \{ */
|
||||
|
||||
typedef struct MeshExtract_EditUVFdotData_Data {
|
||||
@@ -4745,4 +4745,4 @@ const MeshExtract extract_fdot_idx = {
|
||||
.iter_poly_mesh = extract_fdot_idx_iter_poly_mesh,
|
||||
.data_type = 0,
|
||||
.use_threading = true,
|
||||
.mesh_buffer_offset = offsetof(MeshBufferCache, vbo.fdot_idx)};
|
||||
.mesh_buffer_offset = offsetof(MeshBufferCache, vbo.fdot_idx)};
|
||||
|
||||
Reference in New Issue
Block a user