diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2019-09-25 14:41:32 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2019-09-25 16:04:20 +0300 |
commit | 2507b6a48908c6215e73cbd20dcde1996b8c33e5 (patch) | |
tree | ef212497035769d6075ce43033f97af683b0220f /source/blender | |
parent | 615d5fa2fbd24ed6f76a93d7b523066f53da950e (diff) |
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.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/python/intern/bpy_rna_anim.c | 4 |
1 files changed, 2 insertions, 2 deletions
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" |