From 74e5132d111ca3e24cc09b7e30b3bc35f71fdcfd Mon Sep 17 00:00:00 2001 From: Lukas Toenne Date: Mon, 28 Jan 2013 13:33:40 +0000 Subject: 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 ... --- source/blender/makesrna/RNA_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesrna/RNA_types.h') 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, -- cgit v1.2.3