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_simulation.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/modifiers/intern/MOD_simulation.cc') diff --git a/source/blender/modifiers/intern/MOD_simulation.cc b/source/blender/modifiers/intern/MOD_simulation.cc index 7b76cb56d5d..8781ac90c8f 100644 --- a/source/blender/modifiers/intern/MOD_simulation.cc +++ b/source/blender/modifiers/intern/MOD_simulation.cc @@ -183,6 +183,7 @@ ModifierTypeInfo modifierType_Simulation = { /* structSize */ sizeof(SimulationModifierData), /* type */ eModifierTypeType_None, /* flags */ (ModifierTypeFlag)0, + /* icon */ ICON_PHYSICS, /* TODO: Use correct icon. */ /* copyData */ copyData, -- cgit v1.2.3