diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-06 05:41:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-06 06:16:38 +0300 |
commit | b15c658801e191e09a4e9e8933a9ac79a3805e1b (patch) | |
tree | c840c2b20564898b1c7c528cba964bf485bb83a6 /source/blender/editors/animation/keyingsets.c | |
parent | 07d13be678c6b8d5c5c793f664668831ac265f9e (diff) |
Cleanup: keyframe API naming, high level keyframe API
- Split 'verify_fcurve' into two functions:
ED_action_fcurve_ensure which adds the f-curve if needed.
ED_action_fcurve_find which returns NULL when not found.
Callers of ED_action_fcurve_find had unused 'group'
argument which has been removed.
- Rename verify_adt_action to ED_id_action_ensure
It had an argument to add data which was always true,
remove this instead of splitting in into a separate function.
Diffstat (limited to 'source/blender/editors/animation/keyingsets.c')
-rw-r--r-- | source/blender/editors/animation/keyingsets.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/animation/keyingsets.c b/source/blender/editors/animation/keyingsets.c index 258c0e4f1f6..d30828f824d 100644 --- a/source/blender/editors/animation/keyingsets.c +++ b/source/blender/editors/animation/keyingsets.c @@ -1136,8 +1136,7 @@ int ANIM_apply_keyingset( kflag2); } else if (mode == MODIFYKEY_MODE_DELETE) { - success += delete_keyframe( - bmain, reports, ksp->id, act, groupname, ksp->rna_path, i, cfra, kflag2); + success += delete_keyframe(bmain, reports, ksp->id, act, ksp->rna_path, i, cfra, kflag2); } } |