diff options
author | Julian Eisel <julian@blender.org> | 2022-01-08 00:50:55 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-01-08 00:50:55 +0300 |
commit | 3e11c7016ee60491ed8c310e615cb1e2a3f6168a (patch) | |
tree | 2354c6c642ff4b3503e0024bebffb2bd079214bb /source/blender/makesrna | |
parent | 5ba5678e0041c960a50ee05a1bf28d6c7b396162 (diff) |
RNA: Support bitwise operators for property flags in C++
Needed for the following commit.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/RNA_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h index 2d499dd113f..8a143a9f6ea 100644 --- a/source/blender/makesrna/RNA_types.h +++ b/source/blender/makesrna/RNA_types.h @@ -23,6 +23,7 @@ #define __RNA_TYPES_H__ #include "../blenlib/BLI_sys_types.h" +#include "BLI_utildefines.h" #ifdef __cplusplus extern "C" { @@ -314,6 +315,7 @@ typedef enum PropertyFlag { */ PROP_NO_DEG_UPDATE = (1 << 30), } PropertyFlag; +ENUM_OPERATORS(PropertyFlag, PROP_TEXTEDIT_UPDATE); /** * Flags related to comparing and overriding RNA properties. |