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
This commit is contained in:
2020-09-25 12:45:30 +02:00
parent f057e92ae2
commit d15e8bdaa3
58 changed files with 69 additions and 157 deletions

View File

@@ -785,6 +785,7 @@ ModifierTypeInfo modifierType_NormalEdit = {
/* type */ eModifierTypeType_Constructive,
/* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_SupportsMapping |
eModifierTypeFlag_SupportsEditmode | eModifierTypeFlag_EnableInEditmode,
/* icon */ ICON_MOD_NORMALEDIT,
/* copyData */ BKE_modifier_copydata_generic,