diff options
author | Joshua Leung <aligorith@gmail.com> | 2013-07-27 15:55:38 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2013-07-27 15:55:38 +0400 |
commit | d403537fc45f2518be2e8a19150e240a64c8987c (patch) | |
tree | c5237a9d642ff364e1881759618e9b9f48976317 /source/blender/editors/space_graph | |
parent | 59fabbb4f78828148155a556d2f8aa2dfca78036 (diff) |
Code cleanup: Remove unused and unneeded code
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r-- | source/blender/editors/space_graph/graph_buttons.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index a81c0d6dfd6..c4315c56376 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -74,20 +74,6 @@ /* -------------- */ -static void do_graph_region_buttons(bContext *UNUSED(C), void *UNUSED(arg), int event) -{ - //Scene *scene = CTX_data_scene(C); - - switch (event) { - - } - - /* default for now */ - //WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, ob); -} - -/* -------------- */ - static int graph_panel_context(const bContext *C, bAnimListElem **ale, FCurve **fcu) { bAnimContext ac; @@ -170,7 +156,7 @@ static void graph_panel_properties(const bContext *C, Panel *pa) return; block = uiLayoutGetBlock(layout); - uiBlockSetHandleFunc(block, do_graph_region_buttons, NULL); + /* uiBlockSetHandleFunc(block, do_graph_region_buttons, NULL); */ /* F-Curve pointer */ RNA_pointer_create(ale->id, &RNA_FCurve, fcu, &fcu_ptr); @@ -281,7 +267,7 @@ static void graph_panel_key_properties(const bContext *C, Panel *pa) return; block = uiLayoutGetBlock(layout); - uiBlockSetHandleFunc(block, do_graph_region_buttons, NULL); + /* uiBlockSetHandleFunc(block, do_graph_region_buttons, NULL); */ /* only show this info if there are keyframes to edit */ if (get_active_fcurve_keyframe_edit(fcu, &bezt, &prevbezt)) { |