diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-08 17:50:50 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-08 17:50:59 +0300 |
commit | 17f37b43f1f4aa2d2111a88e10dd0aaab659f203 (patch) | |
tree | 28630a13e9b41b9624e9a952b7bd96e8782e04fe /source/blender/editors/mesh | |
parent | b9727dae829dcdfcf4df09dec91185608bcffdd0 (diff) |
Cleanup: Remove unused face customdata for merging meshes
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/meshtools.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/meshtools.cc b/source/blender/editors/mesh/meshtools.cc index 58702d9e966..9d1ea499e42 100644 --- a/source/blender/editors/mesh/meshtools.cc +++ b/source/blender/editors/mesh/meshtools.cc @@ -347,7 +347,7 @@ int ED_mesh_join_objects_exec(bContext *C, wmOperator *op) int totloop = 0, totpoly = 0, vertofs, *matmap = nullptr; int i, haskey = 0, edgeofs, loopofs, polyofs; bool ok = false, join_parent = false; - CustomData vdata, edata, fdata, ldata, pdata; + CustomData vdata, edata, ldata, pdata; if (ob->mode & OB_MODE_EDIT) { BKE_report(op->reports, RPT_WARNING, "Cannot join while in edit mode"); @@ -586,7 +586,6 @@ int ED_mesh_join_objects_exec(bContext *C, wmOperator *op) /* setup new data for destination mesh */ CustomData_reset(&vdata); CustomData_reset(&edata); - CustomData_reset(&fdata); CustomData_reset(&ldata); CustomData_reset(&pdata); |