diff options
author | Campbell Barton <campbell@blender.org> | 2022-10-11 03:05:01 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-10-11 03:06:32 +0300 |
commit | f495939e6e2cf8fdbc6055f5f98445a06ce31203 (patch) | |
tree | 1038dc85fcade4c192189b650c50449c3e1958f0 /source | |
parent | 7f133b7a38341a245ff4cfab0e18a271c021bd94 (diff) |
Correct argument type for BKE_pbvh_node_get_bm_orco_data, format
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/BKE_pbvh.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/pbvh.c | 2 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_pbvh.h b/source/blender/blenkernel/BKE_pbvh.h index 48926a5c858..89743f1d2b4 100644 --- a/source/blender/blenkernel/BKE_pbvh.h +++ b/source/blender/blenkernel/BKE_pbvh.h @@ -669,7 +669,7 @@ void BKE_pbvh_node_get_bm_orco_data(PBVHNode *node, int (**r_orco_tris)[3], int *r_orco_tris_num, float (**r_orco_coords)[3], - struct BMVert **r_orco_verts); + struct BMVert ***r_orco_verts); /** * \note doing a full search on all vertices here seems expensive, diff --git a/source/blender/blenkernel/intern/pbvh.c b/source/blender/blenkernel/intern/pbvh.c index a41c7b5f0bb..b23fe53e80c 100644 --- a/source/blender/blenkernel/intern/pbvh.c +++ b/source/blender/blenkernel/intern/pbvh.c @@ -2045,7 +2045,7 @@ void BKE_pbvh_node_get_bm_orco_data(PBVHNode *node, int (**r_orco_tris)[3], int *r_orco_tris_num, float (**r_orco_coords)[3], - BMVert **r_orco_verts) + BMVert ***r_orco_verts) { *r_orco_tris = node->bm_ortri; *r_orco_tris_num = node->bm_tot_ortri; diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 133d8c11a87..fdbb1f04c0c 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -410,7 +410,7 @@ void SCULPT_face_visibility_all_invert(SculptSession *ss) } void SCULPT_face_visibility_all_set(SculptSession *ss, bool visible) -{ +{ switch (BKE_pbvh_type(ss->pbvh)) { case PBVH_FACES: case PBVH_GRIDS: |