[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58662] trunk/blender/source/blender/ editors/space_graph/graph_buttons.c: Code cleanup: Remove unused and unneeded code

Joshua Leung aligorith at gmail.com
Sat Jul 27 13:55:38 CEST 2013


Revision: 58662
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58662
Author:   aligorith
Date:     2013-07-27 11:55:38 +0000 (Sat, 27 Jul 2013)
Log Message:
-----------
Code cleanup: Remove unused and unneeded code

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_graph/graph_buttons.c

Modified: trunk/blender/source/blender/editors/space_graph/graph_buttons.c
===================================================================
--- trunk/blender/source/blender/editors/space_graph/graph_buttons.c	2013-07-27 11:54:52 UTC (rev 58661)
+++ trunk/blender/source/blender/editors/space_graph/graph_buttons.c	2013-07-27 11:55:38 UTC (rev 58662)
@@ -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 @@
 		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 @@
 		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)) {




More information about the Bf-blender-cvs mailing list