diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-12-29 01:48:10 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-12-29 01:48:10 +0300 |
commit | d64834a6ce5f079c7c6c14e4938efc1dc890ffd3 (patch) | |
tree | c3c7a79c54641d60fcd8dc2f73ddc500b1b6e368 /source/blender/makesrna/RNA_access.h | |
parent | 1503c90f6b1bd1e910f018a8d6d1e13b9e27767f (diff) |
Python attribute lookup. Don't use RNA functions that don't have defined callbacks (can happen for operator functions used for registration only).
Diffstat (limited to 'source/blender/makesrna/RNA_access.h')
-rw-r--r-- | source/blender/makesrna/RNA_access.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h index fc374ff093a..2528af6b57a 100644 --- a/source/blender/makesrna/RNA_access.h +++ b/source/blender/makesrna/RNA_access.h @@ -855,6 +855,7 @@ const char *RNA_function_identifier(FunctionRNA *func); PropertyRNA *RNA_function_return(FunctionRNA *func); const char *RNA_function_ui_description(FunctionRNA *func); int RNA_function_flag(FunctionRNA *func); +int RNA_function_defined(FunctionRNA *func); PropertyRNA *RNA_function_get_parameter(PointerRNA *ptr, FunctionRNA *func, int index); PropertyRNA *RNA_function_find_parameter(PointerRNA *ptr, FunctionRNA *func, const char *identifier); |