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>2009-10-07 13:23:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-10-07 13:23:29 +0400
commitdfe7cde9f1a8dc90d6d77e2c1108bcb0e87eef82 (patch)
treece7653532d1d2364a3e27dd4683a7daa1f53ed9f /source/blender/editors/mesh/editmesh_mods.c
parent77476b294f8a7a74ee6f19ff8bfcbb3fb26e3bda (diff)
- rna path lookup crashed if the string was null (reported by Cessen with an empty driver)
- added TexMesh access ([#19505] Missing option : TexMesh) - Ctrl+Tab works again, not-so-nice workaround, disallow switching to paint modes from editmode, but would be nicer to manage this with keymaps.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_mods.c')
-rw-r--r--source/blender/editors/mesh/editmesh_mods.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/editors/mesh/editmesh_mods.c b/source/blender/editors/mesh/editmesh_mods.c
index 325a1aeec99..a23a6dde652 100644
--- a/source/blender/editors/mesh/editmesh_mods.c
+++ b/source/blender/editors/mesh/editmesh_mods.c
@@ -78,6 +78,8 @@ editmesh_mods.c, UI level access, no geometry changes
#include "WM_api.h"
#include "WM_types.h"
+#include "UI_resources.h"
+
#include "RNA_access.h"
#include "RNA_define.h"
@@ -3614,9 +3616,9 @@ static void mesh_selection_type(ToolSettings *ts, EditMesh *em, int val)
}
static EnumPropertyItem prop_mesh_edit_types[] = {
- {1, "VERT", 0, "Vertices", ""},
- {2, "EDGE", 0, "Edges", ""},
- {3, "FACE", 0, "Faces", ""},
+ {1, "VERT", ICON_VERTEXSEL, "Vertices", ""},
+ {2, "EDGE", ICON_EDGESEL, "Edges", ""},
+ {3, "FACE", ICON_FACESEL, "Faces", ""},
{0, NULL, 0, NULL, NULL}
};