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:
authorNicholas Rishel <rishel.nick@gmail.com>2012-06-20 11:31:19 +0400
committerNicholas Rishel <rishel.nick@gmail.com>2012-06-20 11:31:19 +0400
commitfc1164c2236654a74789cf767e8efc73d5599ab1 (patch)
tree59eb73079ae7746bfde7edf39d2fbc56409856a9 /source/blender/editors/mesh
parent358f7d40b6e24459b860ddaf731f7560a28ad95b (diff)
Fixes [#31577] Select N-th vertex/face/edge doesnt work
http://projects.blender.org/tracker/index.php?func=detail&aid=31577&group_id=9&atid=498 Also solves both TODOs in the commented code. Loop select now calls mouse_mesh() to handle setting an active vertex/edge/face.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_select.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c
index 44ec8bd6aaa..a6fb30120ad 100644
--- a/source/blender/editors/mesh/editmesh_select.c
+++ b/source/blender/editors/mesh/editmesh_select.c
@@ -1044,6 +1044,7 @@ static void mouse_mesh_loop(bContext *C, int mval[2], short extend, short ring)
// if (EM_texFaceCheck())
/* sets as active, useful for other tools */
+#if 0
if (select) {
if (em->selectmode & SCE_SELECT_VERTEX) {
/* TODO: would be nice if the edge vertex chosen here
@@ -1058,6 +1059,8 @@ static void mouse_mesh_loop(bContext *C, int mval[2], short extend, short ring)
* belongs to the selected edge could be set to
* active here in face select mode */
}
+#endif
+ mouse_mesh(C, mval, select, TRUE, FALSE);
WM_event_add_notifier(C, NC_GEOM | ND_SELECT, vc.obedit);
}