Fix T103906: Crash when canceling transform operation with the mirror options set
Caused by rB3b761901b6d6. Some mirror transdata values were not being initialized.
This commit is contained in:
parent
8cc558814d
commit
debd912bef
Notes:
blender-bot
2023-02-14 11:24:03 +01:00
Referenced by issue #103906, Crash when canceling transform operation with the mirror options set
|
@ -1563,7 +1563,7 @@ static void createTransEditVerts(bContext *UNUSED(C), TransInfo *t)
|
|||
|
||||
if (mirror_data.vert_map) {
|
||||
tc->data_mirror_len = mirror_data.mirror_elem_len;
|
||||
tc->data_mirror = MEM_mallocN(mirror_data.mirror_elem_len * sizeof(*tc->data_mirror),
|
||||
tc->data_mirror = MEM_callocN(mirror_data.mirror_elem_len * sizeof(*tc->data_mirror),
|
||||
__func__);
|
||||
|
||||
BM_ITER_MESH_INDEX (eve, &iter, bm, BM_VERTS_OF_MESH, a) {
|
||||
|
|
Loading…
Reference in New Issue