ClangFormat: remove FAKE_SELECT_MODE_BEGIN from ForEachMacros
authorCampbell Barton <ideasman42@gmail.com>
Wed, 15 May 2019 23:40:15 +0000 (09:40 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 15 May 2019 23:40:15 +0000 (09:40 +1000)
This isn't used for looping.

.clang-format
source/blender/editors/mesh/editmesh_select.c
source/blender/editors/space_file/fsmenu.c

index c876aff..36c5643 100644 (file)
@@ -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
index 2855128..5344537 100644 (file)
@@ -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);
index 208ba73..b50c37b 100644 (file)
@@ -47,7 +47,6 @@
 #include "WM_api.h"
 #include "WM_types.h"
 
-
 #ifdef __APPLE__
 #  include <Carbon/Carbon.h>
 #endif /* __APPLE__ */