Cleanup: corrections, clarification to do comments

This commit is contained in:
Campbell Barton 2023-01-20 15:20:02 +11:00
parent 844cca9984
commit 1e8cc72f85
5 changed files with 5 additions and 5 deletions

View File

@ -2036,7 +2036,7 @@ enum {
UI_TEMPLATE_OP_PROPS_NO_SPLIT_LAYOUT = 1 << 4,
};
/* used for transp checkers */
/* Used for transparent checkers shown under color buttons that have an alpha component. */
#define UI_ALPHA_CHECKER_DARK 100
#define UI_ALPHA_CHECKER_LIGHT 160

View File

@ -912,6 +912,7 @@ static bool loop_uv_match(BMLoop *loop,
* \param edge: Search for `needle` in all loops connected to `edge` (recursively).
* \param luv_anchor: The UV of the anchor (vertex that's being stepped around).
* \param luv_fan: The UV of the outer edge, this changes as the fan is stepped over.
* \param needle: Search for this loop, also defines the vertex at the center of the face-fan.
* \param visited: A set of edges to prevent recursing down the same edge multiple times.
* \param cd_loop_uv_offset: The UV layer.
* \return true if there are edges that fan between them that are seam-free.

View File

@ -63,13 +63,13 @@ enum eViewProj {
VIEW_PROJ_PERSP = -1,
};
/* SnapObjectContext.cache.editmesh_map */
/** #SnapObjectContext.editmesh_caches */
struct SnapData_EditMesh {
/* Verts, Edges. */
BVHTree *bvhtree[2];
bool cached[2];
/* Looptris. */
/* BVH tree from #BMEditMesh.looptris. */
BVHTreeFromEditMesh treedata_editmesh;
blender::bke::MeshRuntime *mesh_runtime;

View File

@ -717,7 +717,6 @@ void MeshImporter::read_polys(COLLADAFW::Mesh *collada_mesh,
for (uint uvset_index = 0; uvset_index < index_list_array_uvcoord.getCount();
uvset_index++) {
/* get mtface by face index and uv set index */
COLLADAFW::IndexList &index_list = *index_list_array_uvcoord[uvset_index];
blender::float2 *mloopuv = static_cast<blender::float2 *>(
CustomData_get_layer_named_for_write(

View File

@ -392,7 +392,7 @@ Mesh *MOD_solidify_extrude_modifyMesh(ModifierData *md, const ModifierEvalContex
&result->edata, CD_BWEIGHT, CD_SET_DEFAULT, nullptr, result->totedge));
}
/* initializes: (i_end, do_shell_align, mv). */
/* Initializes: (`i_end`, `do_shell_align`, `vert_index`). */
#define INIT_VERT_ARRAY_OFFSETS(test) \
if (((ofs_new >= ofs_orig) == do_flip) == test) { \
i_end = verts_num; \