Blender Git Loki

Git Commits -> Revision 6992fc0

Revision 6992fc0 by Philipp Oeser (master)
November 27, 2019, 14:55 (GMT)
Add 'EDBM_selectmode_disable_multi' and use in knifeproject

As a followup to rB6f4e595e9ba9 and as per @campbellbarton suggestion,
this adds EDBM_selectmode_disable_multi, similar to
EDBM_mesh_deselect_all_multi & EDBM_mesh_deselect_all, so other similar
uses don't need to be done in a loop.

Also, selected_objects isn't a reliable way to handle this case - since
objects can be in edit-mode & not selected, use
BKE_view_layer_array_from_bases_in_edit_mode_unique_data instead

Differential Revision: https://developer.blender.org/D6317

Commit Details:

Full Hash: 6992fc0b3bf85e985169157b2e7ced1e1ed7fcdf
Parent Commit: 7959dcd
Lines Changed: +44, -16

3 Modified Paths:

/source/blender/editors/include/ED_mesh.h (+8, -0) (Diff)
/source/blender/editors/mesh/editmesh_knife_project.c (+1, -16) (Diff)
/source/blender/editors/mesh/editmesh_select.c (+35, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021