From 2507b6a48908c6215e73cbd20dcde1996b8c33e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 25 Sep 2019 13:41:32 +0200 Subject: [PATCH] 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. --- source/blender/python/intern/bpy_rna_anim.c | 4 ++-- 1 file 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"