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 ...

This commit is contained in:
Lukas Toenne
2013-01-28 13:33:40 +00:00
parent cc96196f10
commit 74e5132d11

View File

@@ -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,