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>2012-02-23 19:22:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-23 19:22:29 +0400
commit668297c8b8cb874163c837b1c3ecb1068896b3d2 (patch)
tree99144fd2e75cfdac1cd3ffa9f0cc540712314267 /source/blender/editors/mesh
parent75f3ff0534221abbc1eeb59d2238e834bcb7eab6 (diff)
fix [#30318] increase/decrease selection won't work (select-more/less)
This was a problem with bmesh merge, now it works as expected again.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/bmesh_utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/bmesh_utils.c b/source/blender/editors/mesh/bmesh_utils.c
index c9ead44e34d..8f69c523d48 100644
--- a/source/blender/editors/mesh/bmesh_utils.c
+++ b/source/blender/editors/mesh/bmesh_utils.c
@@ -415,7 +415,7 @@ void EDBM_select_more(BMEditMesh *em)
int use_faces = em->selectmode > SCE_SELECT_EDGE;
BMO_op_initf(em->bm, &bmop,
- "regionextend geom=%hvef constrict=%i use_faces=%b",
+ "regionextend geom=%hvef constrict=%b use_faces=%b",
BM_ELEM_SELECT, FALSE, use_faces);
BMO_op_exec(em->bm, &bmop);
BMO_slot_buffer_hflag_enable(em->bm, &bmop, "geomout", BM_ELEM_SELECT, BM_ALL);
@@ -430,10 +430,10 @@ void EDBM_select_less(BMEditMesh *em)
int use_faces = em->selectmode > SCE_SELECT_EDGE;
BMO_op_initf(em->bm, &bmop,
- "regionextend geom=%hvef constrict=%i use_faces=%b",
- BM_ELEM_SELECT, FALSE, use_faces);
+ "regionextend geom=%hvef constrict=%b use_faces=%b",
+ BM_ELEM_SELECT, TRUE, use_faces);
BMO_op_exec(em->bm, &bmop);
- BMO_slot_buffer_hflag_enable(em->bm, &bmop, "geomout", BM_ELEM_SELECT, BM_ALL);
+ BMO_slot_buffer_hflag_disable(em->bm, &bmop, "geomout", BM_ELEM_SELECT, BM_ALL);
BMO_op_finish(em->bm, &bmop);
EDBM_selectmode_flush(em);