diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-30 11:22:28 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-30 11:22:28 +0300 |
commit | 301a27187c83e0ea45fa51dd550e7d6978f34828 (patch) | |
tree | f7bab90ae76a738514e46e9ef7f5616019ef5789 /source/blender/blenkernel/BKE_DerivedMesh.h | |
parent | b54cc68365335d69b3a81ad3309c6011751ddbe9 (diff) |
Cleanup: More typed allocation type enum usage
Majority of the code is EOL, but still handy for debug purposes.
Diffstat (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_DerivedMesh.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h index 74416bcd18f..50aa82b83d4 100644 --- a/source/blender/blenkernel/BKE_DerivedMesh.h +++ b/source/blender/blenkernel/BKE_DerivedMesh.h @@ -398,19 +398,19 @@ void DM_set_only_copy(DerivedMesh *dm, CustomDataMask mask); * freed, see BKE_customdata.h for the different options */ void DM_add_vert_layer( - struct DerivedMesh *dm, int type, int alloctype, + struct DerivedMesh *dm, int type, CDAllocType alloctype, void *layer); void DM_add_edge_layer( - struct DerivedMesh *dm, int type, int alloctype, + struct DerivedMesh *dm, int type, CDAllocType alloctype, void *layer); void DM_add_tessface_layer( - struct DerivedMesh *dm, int type, int alloctype, + struct DerivedMesh *dm, int type, CDAllocType alloctype, void *layer); void DM_add_loop_layer( - DerivedMesh *dm, int type, int alloctype, + DerivedMesh *dm, int type, CDAllocType alloctype, void *layer); void DM_add_poly_layer( - struct DerivedMesh *dm, int type, int alloctype, + struct DerivedMesh *dm, int type, CDAllocType alloctype, void *layer); /* custom data access functions |