[Bf-blender-cvs] [2507b6a4890] master: Added missing documentation for `options` parameter in `keyframe_insert()`
Sybren A. Stüvel
noreply at git.blender.org
Wed Sep 25 15:08:40 CEST 2019
Commit: 2507b6a48908c6215e73cbd20dcde1996b8c33e5
Author: Sybren A. Stüvel
Date: Wed Sep 25 13:41:32 2019 +0200
Branches: master
https://developer.blender.org/rB2507b6a48908c6215e73cbd20dcde1996b8c33e5
Added missing documentation for `options` parameter in `keyframe_insert()`
The RNA docstring of `keyframe_insert()` didn't mention the `options`
parameter in the function signature.
No functional changes.
===================================================================
M source/blender/python/intern/bpy_rna_anim.c
===================================================================
diff --git a/source/blender/python/intern/bpy_rna_anim.c b/source/blender/python/intern/bpy_rna_anim.c
index 5e535d0e3ce..8aa6aa91fcf 100644
--- a/source/blender/python/intern/bpy_rna_anim.c
+++ b/source/blender/python/intern/bpy_rna_anim.c
@@ -277,7 +277,7 @@ static int pyrna_struct_keyframe_parse(PointerRNA *ptr,
char pyrna_struct_keyframe_insert_doc[] =
".. method:: keyframe_insert(data_path, index=-1, frame=bpy.context.scene.frame_current, "
- "group=\"\")\n"
+ "group=\"\", options=set())\n"
"\n"
" Insert a keyframe on the property given, adding fcurves and animation data when "
"necessary.\n"
@@ -294,7 +294,7 @@ char pyrna_struct_keyframe_insert_doc[] =
" :arg group: The name of the group the F-Curve should be added to if it doesn't exist "
"yet.\n"
" :type group: str\n"
- " :arg options: Optional flags:\n"
+ " :arg options: Optional set of flags:\n"
"\n"
" - ``INSERTKEY_NEEDED`` Only insert keyframes where they're needed in the relevant "
"F-Curves.\n"
More information about the Bf-blender-cvs
mailing list