diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-28 13:35:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-28 14:26:19 +0400 |
commit | 433b20b7eab28a9fdf0eecea990e667fd9072a26 (patch) | |
tree | 5f9688bb5e01cfdbb07d0e42bf807547b66ba7d5 /source/blender/python/intern | |
parent | f23f07ced020cc337a5fe77d02f7aaed5d584144 (diff) |
PyAPI: correct warning with dynamic enums
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r-- | source/blender/python/intern/bpy_props.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c index 3888e1b7ecd..b2f9547b81a 100644 --- a/source/blender/python/intern/bpy_props.c +++ b/source/blender/python/intern/bpy_props.c @@ -2542,8 +2542,8 @@ BPY_PROPDEF_OPTIONS_ENUM_DOC " For dynamic values a callback can be passed which returns a list in\n" " the same format as the static list.\n" " This function must take 2 arguments (self, context)\n" -" WARNING: Do not use generators here (they will work the first time, but will lead to empty values\n" -" in some unload/reload scenarii)!\n" +" WARNING: There is a known bug with using a callback,\n" +" Python must keep a reference to the strings returned or Blender will crash.\n" " :type items: sequence of string tuples or a function\n" BPY_PROPDEF_UPDATE_DOC ); |