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:

Commit Details:

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

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020