From 4f213c14953c182994dc3fe65e0602032733540e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 8 May 2018 19:36:02 +0200 Subject: Cleanup: naming (prefer len over num for new code) --- source/blender/makesdna/DNA_mesh_types.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/makesdna/DNA_mesh_types.h') diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index d90d5227e17..5ce24916c54 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -71,12 +71,12 @@ typedef struct EditMeshData { /** * \warning Typical access is done via #BKE_mesh_runtime_looptri_ensure, #BKE_mesh_runtime_looptri_len. */ -struct LooptrisData { +struct MLoopTri_Store { /* WARNING! swapping between array (ready-to-be-used data) and array_wip (where data is actually computed) * shall always be protected by same lock as one used for looptris computing. */ struct MLoopTri *array, *array_wip; - int num; - int num_alloc; + int len; + int len_alloc; }; /* not saved in file! */ @@ -89,7 +89,7 @@ typedef struct MeshRuntime { int64_t cd_dirty_loop; int64_t cd_dirty_poly; - struct LooptrisData looptris; + struct MLoopTri_Store looptris; /** 'BVHCache', for 'BKE_bvhutil.c' */ struct LinkNode *bvh_cache; -- cgit v1.2.3