diff options
author | Jacques Lucke <jacques@blender.org> | 2020-09-25 13:45:30 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-09-25 13:45:30 +0300 |
commit | d15e8bdaa3343cf97a74f918b2570e66fb7abfa0 (patch) | |
tree | 95f478c8ff44705c0de9c6f99720c7a74d23addb /source/blender/modifiers/intern/MOD_shapekey.c | |
parent | f057e92ae29ba15895ff489ef1ec0de8dc3f4cbc (diff) |
Modifiers: add icon field to ModifierTypeInfo
With this change `outliner_draw.c` does not have to be
edited anymore when a new modifier is added.
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D8998
Diffstat (limited to 'source/blender/modifiers/intern/MOD_shapekey.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_shapekey.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_shapekey.c b/source/blender/modifiers/intern/MOD_shapekey.c index 801995d6dbc..b439890e20a 100644 --- a/source/blender/modifiers/intern/MOD_shapekey.c +++ b/source/blender/modifiers/intern/MOD_shapekey.c @@ -33,6 +33,8 @@ #include "MOD_modifiertypes.h" +#include "UI_resources.h" + static void deformVerts(ModifierData *UNUSED(md), const ModifierEvalContext *ctx, Mesh *UNUSED(mesh), @@ -124,6 +126,7 @@ ModifierTypeInfo modifierType_ShapeKey = { /* type */ eModifierTypeType_OnlyDeform, /* flags */ eModifierTypeFlag_AcceptsCVs | eModifierTypeFlag_AcceptsVertexCosOnly | eModifierTypeFlag_SupportsEditmode, + /* icon */ ICON_DOT, /* copyData */ NULL, |