Fix T68657: Voxel remesh crash

Mesh was being double freed.
This commit is contained in:
Campbell Barton 2019-08-15 03:51:06 +10:00
parent 8ee3e7da28
commit 76e5b4bee4
Notes: blender-bot 2023-06-26 11:58:59 +02:00
Referenced by issue #68657, Voxel Remesh Crashes
1 changed files with 0 additions and 1 deletions

View File

@ -119,7 +119,6 @@ static int voxel_remesh_exec(bContext *C, wmOperator *op)
}
BKE_mesh_nomain_to_mesh(new_mesh, mesh, ob, &CD_MASK_MESH, true);
BKE_mesh_free(new_mesh);
if (mesh->flag & ME_REMESH_REPROJECT_PAINT_MASK) {
BKE_remesh_reproject_paint_mask(mesh, obj_mesh_copy);