[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59421] trunk/blender/source/blender/ editors/mesh/editmesh_tools.c: new mesh bisect had a problem not selecting faces with fill option in face mode .
Campbell Barton
ideasman42 at gmail.com
Fri Aug 23 16:07:22 CEST 2013
Revision: 59421
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59421
Author: campbellbarton
Date: 2013-08-23 14:07:22 +0000 (Fri, 23 Aug 2013)
Log Message:
-----------
new mesh bisect had a problem not selecting faces with fill option in face mode.
Modified Paths:
--------------
trunk/blender/source/blender/editors/mesh/editmesh_tools.c
Modified: trunk/blender/source/blender/editors/mesh/editmesh_tools.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_tools.c 2013-08-23 13:27:44 UTC (rev 59420)
+++ trunk/blender/source/blender/editors/mesh/editmesh_tools.c 2013-08-23 14:07:22 UTC (rev 59421)
@@ -4493,6 +4493,8 @@
BM_ELEM_SELECT, plane_co, plane_no, thresh, clear_inner, clear_outer);
BMO_op_exec(bm, &bmop);
+ EDBM_flag_disable_all(em, BM_ELEM_SELECT);
+
if (use_fill) {
float normal_fill[3];
BMOperator bmop_fill;
@@ -4515,11 +4517,13 @@
"face_attribute_fill faces=%S use_normals=%b use_data=%b",
&bmop_fill, "geom.out", false, true);
BMO_op_exec(bm, &bmop_attr);
+
+ BMO_slot_buffer_hflag_enable(bm, bmop_fill.slots_out, "geom.out", BM_FACE, BM_ELEM_SELECT, true);
+
BMO_op_finish(bm, &bmop_attr);
BMO_op_finish(bm, &bmop_fill);
}
- EDBM_flag_disable_all(em, BM_ELEM_SELECT);
BMO_slot_buffer_hflag_enable(bm, bmop.slots_out, "geom_cut.out", BM_VERT | BM_EDGE, BM_ELEM_SELECT, true);
if (!EDBM_op_finish(em, &bmop, op, true)) {
More information about the Bf-blender-cvs
mailing list