Fix T62782: Edge slide crashes with mirror enabled

This commit is contained in:
Campbell Barton
2019-03-21 09:53:57 +11:00
parent f71e8617e0
commit 9105e1d084

View File

@@ -6127,7 +6127,8 @@ static void slide_origdata_create_data(
for (i = 0; i < tc->data_len; i++, td++) {
BMVert *eve = td->extra;
if (eve) {
/* Check the vertex has been used since both sides of the mirror may be selected & sliding. */
if (eve && !BLI_ghash_haskey(sod->origverts, eve)) {
sv_mirror->v = eve;
copy_v3_v3(sv_mirror->co_orig_3d, eve->co);