Cleanup: remove unused 'eInsertKeyFlags' from delete API call

There is no need for an insertion flag in a delete function.
This commit is contained in:
2020-03-06 15:07:57 +11:00
parent b15c658801
commit e97aed1e73
4 changed files with 5 additions and 8 deletions

View File

@@ -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) {