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
diff options
context:
space:
mode:
authorLukas Toenne <lukas.toenne@googlemail.com>2013-01-28 17:33:40 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2013-01-28 17:33:40 +0400
commit74e5132d111ca3e24cc09b7e30b3bc35f71fdcfd (patch)
treeeb33ebffe4c5aee5384eab9d805a87bb447509a6 /source/blender/makesrna/RNA_types.h
parentcc96196f10c9615ca6506b5d7dc57e0c9cfbe1ed (diff)
Fix for RNA function flag conflict: FUNC_USE_REPORTS was using same bits as FUNC_REGISTER. Previously errors resulting from this could go unnoticed because of broken FUNC_REGISTER test (all functions considered optional). Watch this in future ...
Diffstat (limited to 'source/blender/makesrna/RNA_types.h')
-rw-r--r--source/blender/makesrna/RNA_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h
index 5f34fad09c6..d3a8742ede7 100644
--- a/source/blender/makesrna/RNA_types.h
+++ b/source/blender/makesrna/RNA_types.h
@@ -342,8 +342,8 @@ typedef enum FunctionFlag {
FUNC_ALLOW_WRITE = 4096,
/* registering */
- FUNC_REGISTER = 16,
- FUNC_REGISTER_OPTIONAL = 16 | 32,
+ FUNC_REGISTER = 32,
+ FUNC_REGISTER_OPTIONAL = 32 | 64,
/* internal flags */
FUNC_BUILTIN = 128,