diff options
author | Brecht Van Lommel <brecht> | 2020-03-03 19:21:18 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-03-03 19:21:47 +0300 |
commit | 0c603cffd123689c3021862a9d76dad9fbe13f4d (patch) | |
tree | 2b5112f4154e1019d8968fc74f85409001eb5fde /source/blender/makesrna/intern/rna_internal.h | |
parent | 78383f7a9f9c3a2b3cc5f6c1ea0834cd7278317c (diff) |
RNA: support 64 bit boolean bitflags in DNA
This does not affect the RNA access API, since how the boolean is read from
DNA abstracted away in the API.
Differential Revision: https://developer.blender.org/D7002
Diffstat (limited to 'source/blender/makesrna/intern/rna_internal.h')
-rw-r--r-- | source/blender/makesrna/intern/rna_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_internal.h b/source/blender/makesrna/intern/rna_internal.h index 56c99194b93..6bda8ebdb4c 100644 --- a/source/blender/makesrna/intern/rna_internal.h +++ b/source/blender/makesrna/intern/rna_internal.h @@ -85,7 +85,8 @@ typedef struct PropertyDefRNA { const char *dnalengthname; int dnalengthfixed; - int booleanbit, booleannegative; + int64_t booleanbit; + bool booleannegative; /* not to be confused with PROP_ENUM_FLAG * this only allows one of the flags to be set at a time, clearing all others */ |