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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user