From d15e8bdaa3343cf97a74f918b2570e66fb7abfa0 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Fri, 25 Sep 2020 12:45:30 +0200 Subject: 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 --- source/blender/modifiers/intern/MOD_ocean.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/modifiers/intern/MOD_ocean.c') diff --git a/source/blender/modifiers/intern/MOD_ocean.c b/source/blender/modifiers/intern/MOD_ocean.c index ccd105f8f69..cedb06f53c6 100644 --- a/source/blender/modifiers/intern/MOD_ocean.c +++ b/source/blender/modifiers/intern/MOD_ocean.c @@ -761,6 +761,7 @@ ModifierTypeInfo modifierType_Ocean = { /* type */ eModifierTypeType_Constructive, /* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_SupportsEditmode | eModifierTypeFlag_EnableInEditmode, + /* icon */ ICON_MOD_OCEAN, /* copyData */ copyData, /* deformMatrices_DM */ NULL, -- cgit v1.2.3