diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-01-11 20:55:55 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-01-11 20:56:05 +0300 |
commit | 6dbfd7f6d6bc9bea9556861eba682a3126b5ed40 (patch) | |
tree | f9ff1691d2da25a7c6ea6c18bc98346f343f5ad8 /source/blender | |
parent | 3a9909f38e702059085973ae2cb30aa1750bbfd4 (diff) |
Fix T57371: Generative modifiers in editmode display vertex group weights ...
... incorrectly (or assert)
Thanks @angavrilov and @lichtwerk for the fix.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/DerivedMesh.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c index 8428bc580d4..56d44f0f443 100644 --- a/source/blender/blenkernel/intern/DerivedMesh.c +++ b/source/blender/blenkernel/intern/DerivedMesh.c @@ -2135,8 +2135,10 @@ static CustomDataMask object_get_datamask(const Depsgraph *depsgraph, Object *ob mask |= CD_MASK_MDEFORMVERT; } - if (ob->mode & OB_MODE_EDIT) + if (ob->mode & OB_MODE_EDIT) { mask |= CD_MASK_MVERT_SKIN; + mask |= CD_MASK_MDEFORMVERT; + } } return mask; |