diff options
author | Joseph Eagar <joeedh@gmail.com> | 2010-05-03 14:09:26 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2010-05-03 14:09:26 +0400 |
commit | 88c3b68207c0d3961a36b0a78563221a9f351c70 (patch) | |
tree | 0d80e5fceb9fb22650c43fc68b62d12020b8efca /source/blender/modifiers/intern/MOD_mask.c | |
parent | 39aac78b59bf8f6eb2be60e7023d052e56458db1 (diff) |
mask modifier properly works in weightpaint and edit modes now. note that modifiers should not have to provide a applyModifierEM function, there's really no reason to not pull the result from applyModifier if applyModifierEM doesn't exist, it's not like we don't have a dozen *EM functions that do just that, anyway. fixes 22192. {merged 28543 into trunk}
Diffstat (limited to 'source/blender/modifiers/intern/MOD_mask.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_mask.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_mask.c b/source/blender/modifiers/intern/MOD_mask.c index 6d6ccb0e3a2..25781f3dff0 100644 --- a/source/blender/modifiers/intern/MOD_mask.c +++ b/source/blender/modifiers/intern/MOD_mask.c @@ -32,6 +32,7 @@ #include "DNA_armature_types.h" #include "DNA_meshdata_types.h" +#include "DNA_modifier_types.h" #include "BLI_ghash.h" @@ -386,7 +387,7 @@ ModifierTypeInfo modifierType_Mask = { /* structName */ "MaskModifierData", /* structSize */ sizeof(MaskModifierData), /* type */ eModifierTypeType_Nonconstructive, - /* flags */ eModifierTypeFlag_AcceptsMesh, + /* flags */ eModifierTypeFlag_AcceptsMesh|eModifierTypeFlag_SupportsMapping|eModifierTypeFlag_SupportsEditmode, /* copyData */ copyData, /* deformVerts */ 0, |