diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-10-19 22:12:35 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-10-19 22:14:42 +0300 |
commit | f10bc11061cf3872f9a8b085c47f85bed6ddca93 (patch) | |
tree | 74684f4a04cc2bdf8e5b4f582ed14e7f0d1cc405 /source/blender/blenkernel/intern/nla.c | |
parent | caad2d7528bc38934a90bb30b417068b71076bcd (diff) |
Remove defunct NLA_OT_bake
It's been 9 years too long.
And don't get this one confused with nla.bake (why would you even?).
The·BakeAction operator will be renamed to NLA_TO_bake next.
Diffstat (limited to 'source/blender/blenkernel/intern/nla.c')
-rw-r--r-- | source/blender/blenkernel/intern/nla.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/source/blender/blenkernel/intern/nla.c b/source/blender/blenkernel/intern/nla.c index dede83d97dd..9850ce9b517 100644 --- a/source/blender/blenkernel/intern/nla.c +++ b/source/blender/blenkernel/intern/nla.c @@ -2013,30 +2013,3 @@ void BKE_nla_tweakmode_exit(AnimData *adt) adt->actstrip = NULL; adt->flag &= ~ADT_NLA_EDIT_ON; } - -/* Baking Tools ------------------------------------------- */ - -static void UNUSED_FUNCTION(BKE_nla_bake) (Scene *scene, ID *UNUSED(id), AnimData *adt, int UNUSED(flag)) -{ - - /* verify that data is valid - * 1) Scene and AnimData must be provided - * 2) there must be tracks to merge... - */ - if (ELEM(NULL, scene, adt, adt->nla_tracks.first)) - return; - - /* if animdata currently has an action, 'push down' this onto the stack first */ - if (adt->action) - BKE_nla_action_pushdown(adt); - - /* get range of motion to bake, and the channels involved... */ - - /* temporarily mute the action, and start keying to it */ - - /* start keying... */ - - /* unmute the action */ -} - -/* *************************************************** */ |