diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-03 18:31:38 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-03 18:31:38 +0400 |
commit | 47cd3cf2259fc738896e6bb0e2955c970e3c62b1 (patch) | |
tree | 88f2b759303f4f262da7dce264024631bc33280b /source/blender/makesrna/RNA_types.h | |
parent | 5fe0bd800f81b402b86cb4e22939da6b5cf336ed (diff) |
BPY/RNA: determine callback functions that are allowed to write data by a flag
on the function instead of checking the name.
Diffstat (limited to 'source/blender/makesrna/RNA_types.h')
-rw-r--r-- | source/blender/makesrna/RNA_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h index 7d6e07baebd..87504dc6eb7 100644 --- a/source/blender/makesrna/RNA_types.h +++ b/source/blender/makesrna/RNA_types.h @@ -313,6 +313,7 @@ typedef enum FunctionFlag { FUNC_USE_CONTEXT = 4, FUNC_USE_REPORTS = 8, FUNC_USE_SELF_ID = 2048, + FUNC_ALLOW_WRITE = 4096, /* registering */ FUNC_REGISTER = 16, |