Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-01-02 10:09:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-02 10:09:53 +0400
commita94e4e0ef84ff53012c5f2708a63174feb6e726d (patch)
tree8129fc5a5b1bb334b474de93a30201633d4e77ea /source/blender/python/intern/bpy_rna_anim.c
parent0d95dde79b3ed6b0e6ea375c2536699aa1bec4c9 (diff)
fix [#33726] keyframe_insert() and keyframe_delete() with index=-1 always fail
The bug was introduced in r53297, was calling pyrna_struct_anim_args_parse() twice for no reason, perhaps baddly applied patch?.
Diffstat (limited to 'source/blender/python/intern/bpy_rna_anim.c')
-rw-r--r--source/blender/python/intern/bpy_rna_anim.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/python/intern/bpy_rna_anim.c b/source/blender/python/intern/bpy_rna_anim.c
index cacae8fd184..0acfc36bb4e 100644
--- a/source/blender/python/intern/bpy_rna_anim.c
+++ b/source/blender/python/intern/bpy_rna_anim.c
@@ -167,9 +167,6 @@ static int pyrna_struct_keyframe_parse(
*cfra = CTX_data_scene(BPy_GetContext())->r.cfra;
/* flag may be null (no option currently for remove keyframes e.g.). */
- if (pyrna_struct_anim_args_parse(ptr, error_prefix, path, path_full, index) < 0)
- return -1;
-
if (pyoptions && options && (pyrna_set_to_enum_bitfield(keying_flag_items, pyoptions, options, error_prefix) < 0))
return -1;