diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-28 13:35:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-28 13:35:32 +0400 |
commit | 79d83679747989540c9b031765634e1fd1ce9290 (patch) | |
tree | 3aeb83e140ed6e4f735056ca5050eddd8a94936d /source/blender/python | |
parent | a8ec2a536d419c178161a82b57bcca5e8cb6a218 (diff) |
add warning that RNA update callbacks dont have checks for infinite recursion.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_props.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c index abf609cd235..bb116017f6b 100644 --- a/source/blender/python/intern/bpy_props.c +++ b/source/blender/python/intern/bpy_props.c @@ -360,6 +360,7 @@ static int py_long_as_int(PyObject *py_long, int *r_int) #define BPY_PROPDEF_UPDATE_DOC \ " :arg update: function to be called when this value is modified,\n" \ " This function must take 2 values (self, context) and return None.\n" \ +" *Warning* there are no safety checks to avoid infinite recursion.\n" \ " :type update: function\n" \ #if 0 |