Fix T67098: Inset causes shape keys to reset exiting edit-mode
Edit-mesh interactive redo reset the meshes shape-key index. Also copy the selection mode when copying meshes.
This commit is contained in:
@@ -717,6 +717,10 @@ BMesh *BM_mesh_copy(BMesh *bm_old)
|
||||
MEM_freeN(vtable);
|
||||
MEM_freeN(ftable);
|
||||
|
||||
/* Copy various settings. */
|
||||
bm_new->shapenr = bm_old->shapenr;
|
||||
bm_new->selectmode = bm_old->selectmode;
|
||||
|
||||
return bm_new;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user