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

@@ -281,6 +281,7 @@ ModifierTypeInfo modifierType_Armature = {
/* type */ eModifierTypeType_OnlyDeform,
/* flags */ eModifierTypeFlag_AcceptsCVs | eModifierTypeFlag_AcceptsVertexCosOnly |
eModifierTypeFlag_SupportsEditmode,
/* icon */ ICON_MOD_ARMATURE,
/* copyData */ copyData,