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>2013-12-12 10:11:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-12 10:37:16 +0400
commitab127c12d4d1f9db10435a904ec184560449938a (patch)
tree1a0356ddfb0c1d7ee1a3d2207805aea440fcf123 /source/blender/blenkernel/BKE_mesh_mapping.h
parente23f77b935c3d0a5f1cbc300d25000a0fdd1f765 (diff)
Mesh API: Add BKE_mesh_origindex_map_create
This API function lets original data loop over its derived data, Use for vertex paint, replacing custom function.
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh_mapping.h')
-rw-r--r--source/blender/blenkernel/BKE_mesh_mapping.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_mesh_mapping.h b/source/blender/blenkernel/BKE_mesh_mapping.h
index 3c5377d7bf6..ee9e63e6975 100644
--- a/source/blender/blenkernel/BKE_mesh_mapping.h
+++ b/source/blender/blenkernel/BKE_mesh_mapping.h
@@ -117,6 +117,10 @@ void BKE_mesh_edge_poly_map_create(
const struct MEdge *medge, const int totedge,
const struct MPoly *mpoly, const int totpoly,
const struct MLoop *mloop, const int totloop);
+void BKE_mesh_origindex_map_create(
+ MeshElemMap **r_map, int **r_mem,
+ const int totorig,
+ const int *final_origindex, const int totfinal);
/* smoothgroups */
int *BKE_mesh_calc_smoothgroups(