diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-11 12:01:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-11 12:07:12 +0300 |
commit | c3dab455105af3da3563e7a0a4c6d808e386e45f (patch) | |
tree | 514563b3fe0bb3d1d67e2827300bc9320b53f863 /source/blender/blenkernel | |
parent | 331661078572200cde66b760d5346bfe10b8ef4d (diff) |
Fix lattice deform after undo and edit-mode exit
Follow up on T71414
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/editlattice.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/editlattice.c b/source/blender/blenkernel/intern/editlattice.c index 2d71b847b5b..b002a87a3f5 100644 --- a/source/blender/blenkernel/intern/editlattice.c +++ b/source/blender/blenkernel/intern/editlattice.c @@ -107,6 +107,13 @@ void BKE_editlattice_load(Object *obedit) lt->typew = editlt->typew; lt->actbp = editlt->actbp; + lt->fu = editlt->fu; + lt->fv = editlt->fv; + lt->fw = editlt->fw; + lt->du = editlt->du; + lt->dv = editlt->dv; + lt->dw = editlt->dw; + if (lt->editlatt->shapenr) { actkey = BLI_findlink(<->key->block, lt->editlatt->shapenr - 1); |