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:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user