Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2022-01-08 00:50:55 +0300
committerJulian Eisel <julian@blender.org>2022-01-08 00:50:55 +0300
commit3e11c7016ee60491ed8c310e615cb1e2a3f6168a (patch)
tree2354c6c642ff4b3503e0024bebffb2bd079214bb /source
parent5ba5678e0041c960a50ee05a1bf28d6c7b396162 (diff)
RNA: Support bitwise operators for property flags in C++
Needed for the following commit.
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/RNA_types.h2
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.