ClangFormat: remove FAKE_SELECT_MODE_BEGIN from ForEachMacros
This isn't used for looping.
This commit is contained in:
parent
8a6414ed46
commit
e8ed78c884
|
@ -183,7 +183,6 @@ ForEachMacros:
|
|||
- DEG_OBJECT_ITER_FOR_RENDER_ENGINE_BEGIN
|
||||
- DRIVER_TARGETS_LOOPER_BEGIN
|
||||
- DRIVER_TARGETS_USED_LOOPER_BEGIN
|
||||
- FAKE_SELECT_MODE_BEGIN
|
||||
- FOREACH_BASE_IN_EDIT_MODE_BEGIN
|
||||
- FOREACH_BASE_IN_MODE_BEGIN
|
||||
- FOREACH_BEGIN
|
||||
|
|
|
@ -570,8 +570,7 @@ BMVert *EDBM_vert_find_nearest_ex(ViewContext *vc,
|
|||
|
||||
/* No afterqueue (yet), so we check it now, otherwise the bm_xxxofs indices are bad. */
|
||||
{
|
||||
FAKE_SELECT_MODE_BEGIN (vc, fake_select_mode, select_mode, SCE_SELECT_VERTEX)
|
||||
;
|
||||
FAKE_SELECT_MODE_BEGIN(vc, fake_select_mode, select_mode, SCE_SELECT_VERTEX);
|
||||
|
||||
edbm_select_pick_cache_alloc(bases_len);
|
||||
edbm_select_pick_draw_bases(vc, bases, bases_len, select_mode);
|
||||
|
@ -790,8 +789,7 @@ BMEdge *EDBM_edge_find_nearest_ex(ViewContext *vc,
|
|||
|
||||
/* No afterqueue (yet), so we check it now, otherwise the bm_xxxofs indices are bad. */
|
||||
{
|
||||
FAKE_SELECT_MODE_BEGIN (vc, fake_select_mode, select_mode, SCE_SELECT_EDGE)
|
||||
;
|
||||
FAKE_SELECT_MODE_BEGIN(vc, fake_select_mode, select_mode, SCE_SELECT_EDGE);
|
||||
|
||||
edbm_select_pick_cache_alloc(bases_len);
|
||||
edbm_select_pick_draw_bases(vc, bases, bases_len, select_mode);
|
||||
|
@ -994,8 +992,7 @@ BMFace *EDBM_face_find_nearest_ex(ViewContext *vc,
|
|||
BMFace *efa;
|
||||
|
||||
{
|
||||
FAKE_SELECT_MODE_BEGIN (vc, fake_select_mode, select_mode, SCE_SELECT_FACE)
|
||||
;
|
||||
FAKE_SELECT_MODE_BEGIN(vc, fake_select_mode, select_mode, SCE_SELECT_FACE);
|
||||
|
||||
edbm_select_pick_cache_alloc(bases_len);
|
||||
edbm_select_pick_draw_bases(vc, bases, bases_len, select_mode);
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
#include "WM_api.h"
|
||||
#include "WM_types.h"
|
||||
|
||||
|
||||
#ifdef __APPLE__
|
||||
# include <Carbon/Carbon.h>
|
||||
#endif /* __APPLE__ */
|
||||
|
|
Loading…
Reference in New Issue