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>2020-03-06 07:07:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-03-06 07:07:57 +0300
commite97aed1e73e72174e08dc1ea152725007647a6cc (patch)
treeb6d29a4879d6141b893e0b5d05d2846d7ac81c4e /source/blender/python/intern/bpy_rna_anim.c
parentb15c658801e191e09a4e9e8933a9ac79a3805e1b (diff)
Cleanup: remove unused 'eInsertKeyFlags' from delete API call
There is no need for an insertion flag in a delete function.
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, 1 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_rna_anim.c b/source/blender/python/intern/bpy_rna_anim.c
index b9cdcc94260..0533e8cc499 100644
--- a/source/blender/python/intern/bpy_rna_anim.c
+++ b/source/blender/python/intern/bpy_rna_anim.c
@@ -501,8 +501,7 @@ PyObject *pyrna_struct_keyframe_delete(BPy_StructRNA *self, PyObject *args, PyOb
BKE_reports_init(&reports, RPT_STORE);
- result = delete_keyframe(
- G.main, &reports, (ID *)self->ptr.owner_id, NULL, path_full, index, cfra, 0);
+ result = delete_keyframe(G.main, &reports, self->ptr.owner_id, NULL, path_full, index, cfra);
MEM_freeN((void *)path_full);
if (BPy_reports_to_error(&reports, PyExc_RuntimeError, true) == -1) {