Commit: 604b6369dac95b45e11697d5add6a757c7b815b0 Author: Bastien Montagne Date: Fri Feb 23 20:36:06 2018 +0100 Branches: soc-2017-normal-tools https://developer.blender.org/rB604b6369dac95b45e11697d5add6a757c7b815b0
Cleanup: use anonymous enum instead of defines for flags. =================================================================== M source/blender/bmesh/bmesh_class.h =================================================================== diff --git a/source/blender/bmesh/bmesh_class.h b/source/blender/bmesh/bmesh_class.h index 90608f45cdc..3d3ddf1cb46 100644 --- a/source/blender/bmesh/bmesh_class.h +++ b/source/blender/bmesh/bmesh_class.h @@ -292,9 +292,11 @@ typedef struct LoopNormalData { #define BM_ALL (BM_VERT | BM_EDGE | BM_LOOP | BM_FACE) #define BM_ALL_NOLOOP (BM_VERT | BM_EDGE | BM_FACE) -#define BM_SPACEARR_DIRTY (1 << 1) -#define BM_SPACEARR_DIRTY_ALL (1 << 2) -#define BM_SPACEARR_BMO_SET (1 << 3) +enum { + BM_SPACEARR_DIRTY = 1 << 0, + BM_SPACEARR_DIRTY_ALL = 1 << 1, + BM_SPACEARR_BMO_SET = 1 << 2, +}; /* args for _Generic */ #define _BM_GENERIC_TYPE_ELEM_NONCONST \ _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs