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 <ideasman42@gmail.com>2018-05-08 20:36:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-08 20:36:02 +0300
commit4f213c14953c182994dc3fe65e0602032733540e (patch)
treed951451166dc6de4ecd29fab4bcccca157189e4f /source/blender/makesdna/DNA_mesh_types.h
parent305c455ffe36161baeb9495942808ddb7ac486bb (diff)
Cleanup: naming (prefer len over num for new code)
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h8
1 files changed, 4 insertions, 4 deletions
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;