mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix crash exiting edit-mode with an active basis shape key
Exposed by T71865, while the bug remains this resolves the crash.
This commit is contained in:
parent
4a440ecb99
commit
96f6520734
1 changed files with 1 additions and 1 deletions
|
|
@ -879,7 +879,7 @@ void BM_mesh_bm_to_me(Main *bmain, BMesh *bm, Mesh *me, const struct BMeshToMesh
|
|||
BM_ITER_MESH_INDEX (eve, &iter, bm, BM_VERTS_OF_MESH, i) {
|
||||
const int keyi = BM_ELEM_CD_GET_INT(eve, cd_shape_keyindex_offset);
|
||||
|
||||
if (keyi != ORIGINDEX_NONE) {
|
||||
if (keyi != ORIGINDEX_NONE && keyi < actkey->totelem) {
|
||||
sub_v3_v3v3(ofs[i], mvert->co, fp[keyi]);
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue