Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-09-25 13:45:30 +0300
committerJacques Lucke <jacques@blender.org>2020-09-25 13:45:30 +0300
commitd15e8bdaa3343cf97a74f918b2570e66fb7abfa0 (patch)
tree95f478c8ff44705c0de9c6f99720c7a74d23addb /source/blender/modifiers/intern/MOD_mirror.c
parentf057e92ae29ba15895ff489ef1ec0de8dc3f4cbc (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_mirror.c')
-rw-r--r--source/blender/modifiers/intern/MOD_mirror.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_mirror.c b/source/blender/modifiers/intern/MOD_mirror.c
index 75c92bfd815..8f264915a83 100644
--- a/source/blender/modifiers/intern/MOD_mirror.c
+++ b/source/blender/modifiers/intern/MOD_mirror.c
@@ -222,6 +222,7 @@ ModifierTypeInfo modifierType_Mirror = {
eModifierTypeFlag_AcceptsCVs |
/* this is only the case when 'MOD_MIR_VGROUP' is used */
eModifierTypeFlag_UsesPreview,
+ /* icon */ ICON_MOD_MIRROR,
/* copyData */ BKE_modifier_copydata_generic,