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:
authorBastien Montagne <montagne29@wanadoo.fr>2016-02-28 17:16:42 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-02-28 17:16:42 +0300
commitea76ec2866d11156b689287f4190dfe4e79314b2 (patch)
treeee3edf1cd864414279228e6c322f1f417a429ecd /source/blender/blenkernel/BKE_customdata.h
parent0feab1baef730a63a242f7b9914e1e42813b8e54 (diff)
Cleanup: rename `CustomData_swap` to `CustomData_swap_corners`.
More in line with our other func names handling sub-item data (mainly, tessfaces' UVs and VCol...).
Diffstat (limited to 'source/blender/blenkernel/BKE_customdata.h')
-rw-r--r--source/blender/blenkernel/BKE_customdata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_customdata.h b/source/blender/blenkernel/BKE_customdata.h
index a7c5c210061..0b248be9780 100644
--- a/source/blender/blenkernel/BKE_customdata.h
+++ b/source/blender/blenkernel/BKE_customdata.h
@@ -258,7 +258,7 @@ void CustomData_bmesh_interp(
/* swaps the data in the element corners, to new corners with indices as
* specified in corner_indices. for edges this is an array of length 2, for
* faces an array of length 4 */
-void CustomData_swap(struct CustomData *data, int index, const int *corner_indices);
+void CustomData_swap_corners(struct CustomData *data, int index, const int *corner_indices);
/* gets a pointer to the data element at index from the first layer of type
* returns NULL if there is no layer of type