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:
authorCampbell Barton <ideasman42@gmail.com>2013-12-22 00:08:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-22 00:13:48 +0400
commitd5263c37faf73d0f6cc2466ac0806fef972119fb (patch)
tree9d5c86e3cd3a39301a6d40586324bda0155241dc /source/blender/editors
parent01acc2a7dcb3ba3bd99f75aac77c14619b10c539 (diff)
Modifier: New Wireframe Modifier
Based on patch originally by Thomas Beck, uses options similar to solidify.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/include/UI_icons.h2
-rw-r--r--source/blender/editors/space_outliner/outliner_draw.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_icons.h b/source/blender/editors/include/UI_icons.h
index f8e1bbb2413..bbad49d3930 100644
--- a/source/blender/editors/include/UI_icons.h
+++ b/source/blender/editors/include/UI_icons.h
@@ -592,8 +592,8 @@ DEF_ICON(MOD_OCEAN)
DEF_ICON(MOD_WARP)
DEF_ICON(MOD_SKIN)
DEF_ICON(MOD_TRIANGULATE)
+DEF_ICON(MOD_WIREFRAME) // DEF_ICON(BLANK166)
#ifndef DEF_ICON_BLANK_SKIP
- DEF_ICON(BLANK166)
DEF_ICON(BLANK167)
DEF_ICON(BLANK168)
DEF_ICON(BLANK169)
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index ebaeb9ccb6a..10f4e011026 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -965,6 +965,8 @@ static void tselem_draw_icon(uiBlock *block, int xmax, float x, float y, TreeSto
UI_icon_draw(x, y, ICON_MOD_TRIANGULATE); break;
case eModifierType_MeshCache:
UI_icon_draw(x, y, ICON_MOD_MESHDEFORM); break; /* XXX, needs own icon */
+ case eModifierType_Wireframe:
+ UI_icon_draw(x, y, ICON_MOD_WIREFRAME); break;
case eModifierType_LaplacianDeform:
UI_icon_draw(x, y, ICON_MOD_MESHDEFORM); break; /* XXX, needs own icon */
/* Default */