Revert "Fix T57371: Generative modifiers in editmode display vertex group weights...
authorClément Foucault <foucault.clem@gmail.com>
Fri, 11 Jan 2019 19:09:11 +0000 (20:09 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Fri, 11 Jan 2019 19:09:42 +0000 (20:09 +0100)
This reverts commit 6dbfd7f6d6bc9bea9556861eba682a3126b5ed40.

source/blender/blenkernel/intern/DerivedMesh.c

index 56d44f0..8428bc5 100644 (file)
@@ -2135,10 +2135,8 @@ 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;