RNA: Support bitwise operators for property flags in C++
Needed for the following commit.
This commit is contained in:
parent
5ba5678e00
commit
3e11c7016e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue