From 64f7994454e5a097b7b04de770ffc62f44e25e92 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sun, 11 Mar 2007 04:39:19 +0000 Subject: Action Editor - Remove unused code. Nothing ever called that part of code, and that code was 'not implemented' anyway. --- source/blender/include/BIF_editaction.h | 1 - source/blender/src/editaction.c | 7 ------- source/blender/src/header_action.c | 12 ------------ 3 files changed, 20 deletions(-) (limited to 'source/blender') diff --git a/source/blender/include/BIF_editaction.h b/source/blender/include/BIF_editaction.h index fa10653543b..8f58ab95de1 100644 --- a/source/blender/include/BIF_editaction.h +++ b/source/blender/include/BIF_editaction.h @@ -106,7 +106,6 @@ void sethandles_actionchannel_keys(int code); /* Ipo type */ void set_ipotype_actionchannels(int ipotype); -void set_exprap_action(int mode); void set_extendtype_actionchannels(int extendtype); /* Select */ diff --git a/source/blender/src/editaction.c b/source/blender/src/editaction.c index 2dfa22ae171..e3b6fe327b7 100644 --- a/source/blender/src/editaction.c +++ b/source/blender/src/editaction.c @@ -939,13 +939,6 @@ bActionChannel* get_hilighted_action_channel(bAction* action) } -void set_exprap_action(int mode) -{ - if(G.saction->action && G.saction->action->id.lib) return; - - error ("Not yet implemented!"); -} - bAction *add_empty_action(int blocktype) { bAction *act; diff --git a/source/blender/src/header_action.c b/source/blender/src/header_action.c index 0ab80e000a2..24ba0db8535 100644 --- a/source/blender/src/header_action.c +++ b/source/blender/src/header_action.c @@ -152,18 +152,6 @@ void do_action_buttons(unsigned short event) case B_ACTBAKE: bake_action_with_client (G.saction->action, ob, 0.01); break; - case B_ACTCONT: - set_exprap_action(IPO_HORIZ); - break; -// case B_ACTEXTRAP: -// set_exprap_ipo(IPO_DIR); -// break; - case B_ACTCYCLIC: - set_exprap_action(IPO_CYCL); - break; -// case B_ACTCYCLICX: -// set_exprap_ipo(IPO_CYCLX); -// break; case B_ACTHOME: // Find X extents //v2d= &(G.saction->v2d); -- cgit v1.2.3