diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-07-19 20:21:51 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-07-19 20:22:13 +0300 |
commit | 75e62df4297093b2a65e295a43b0ff0fbffe44b7 (patch) | |
tree | 616c294529f170824da86e76bca5fbafd61ccd03 /source/blender/editors/transform/transform_convert_mesh_vert_cdata.c | |
parent | cd478fbfb3d0bf6c80b112fadbe4c0e1f550dc90 (diff) |
Cleanup: compiler warning
Diffstat (limited to 'source/blender/editors/transform/transform_convert_mesh_vert_cdata.c')
-rw-r--r-- | source/blender/editors/transform/transform_convert_mesh_vert_cdata.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform_convert_mesh_vert_cdata.c b/source/blender/editors/transform/transform_convert_mesh_vert_cdata.c index ff58c2c888b..104b45de138 100644 --- a/source/blender/editors/transform/transform_convert_mesh_vert_cdata.c +++ b/source/blender/editors/transform/transform_convert_mesh_vert_cdata.c @@ -42,7 +42,6 @@ static float *tc_mesh_cdata_transdata_center(const struct TransIslandData *islan } static void tc_mesh_cdata_transdata_create(TransDataBasic *td, - BMEditMesh *em, BMVert *eve, float *weight, const struct TransIslandData *island_data, @@ -193,7 +192,7 @@ void createTransMeshVertCData(TransInfo *t) float *weight = BM_ELEM_CD_GET_VOID_P(eve, cd_offset); if (mirror_data.vert_map && mirror_data.vert_map[a].index != -1) { tc_mesh_cdata_transdata_create( - (TransDataBasic *)td_mirror, em, eve, weight, &island_data, island_index); + (TransDataBasic *)td_mirror, eve, weight, &island_data, island_index); int elem_index = mirror_data.vert_map[a].index; BMVert *v_src = BM_vert_at_index(bm, elem_index); @@ -204,7 +203,7 @@ void createTransMeshVertCData(TransInfo *t) } else if (prop_mode || BM_elem_flag_test(eve, BM_ELEM_SELECT)) { tc_mesh_cdata_transdata_create( - (TransDataBasic *)td, em, eve, weight, &island_data, island_index); + (TransDataBasic *)td, eve, weight, &island_data, island_index); if (t->around == V3D_AROUND_LOCAL_ORIGINS) { createSpaceNormal(td->axismtx, eve->no); |