diff options
Diffstat (limited to 'source/blender/editors/animation/keyframing.c')
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index b48b96830d2..c8ef4fe2965 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -1576,8 +1576,7 @@ short delete_keyframe(Main *bmain, bAction *act, const char rna_path[], int array_index, - float cfra, - eInsertKeyFlags UNUSED(flag)) + float cfra) { AnimData *adt = BKE_animdata_from_id(id); PointerRNA id_ptr, ptr; @@ -2589,7 +2588,7 @@ static int delete_key_button_exec(bContext *C, wmOperator *op) index = -1; } - success = delete_keyframe(bmain, op->reports, ptr.owner_id, NULL, path, index, cfra, 0); + success = delete_keyframe(bmain, op->reports, ptr.owner_id, NULL, path, index, cfra); MEM_freeN(path); } else if (G.debug & G_DEBUG) { |