[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34614] trunk/blender/source/blender/ editors: "Batch-Edit" Code cleanup: Renaming ED_operator_ipo_active to
Joshua Leung
aligorith at gmail.com
Wed Feb 2 00:51:53 CET 2011
Revision: 34614
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34614
Author: aligorith
Date: 2011-02-01 23:51:52 +0000 (Tue, 01 Feb 2011)
Log Message:
-----------
"Batch-Edit" Code cleanup: Renaming ED_operator_ipo_active to
ED_operator_graphedit_active
Modified Paths:
--------------
trunk/blender/source/blender/editors/animation/anim_channels_edit.c
trunk/blender/source/blender/editors/include/ED_screen.h
trunk/blender/source/blender/editors/screen/screen_ops.c
trunk/blender/source/blender/editors/space_graph/graph_buttons.c
trunk/blender/source/blender/editors/space_graph/graph_edit.c
trunk/blender/source/blender/editors/space_graph/graph_ops.c
Modified: trunk/blender/source/blender/editors/animation/anim_channels_edit.c
===================================================================
--- trunk/blender/source/blender/editors/animation/anim_channels_edit.c 2011-02-01 23:41:01 UTC (rev 34613)
+++ trunk/blender/source/blender/editors/animation/anim_channels_edit.c 2011-02-01 23:51:52 UTC (rev 34614)
@@ -1228,7 +1228,7 @@
/* api callbacks */
ot->exec= animchannels_visibility_set_exec;
- ot->poll= ED_operator_ipo_active;
+ ot->poll= ED_operator_graphedit_active;
/* flags */
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
@@ -1301,7 +1301,7 @@
/* api callbacks */
ot->exec= animchannels_visibility_toggle_exec;
- ot->poll= ED_operator_ipo_active;
+ ot->poll= ED_operator_graphedit_active;
/* flags */
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
Modified: trunk/blender/source/blender/editors/include/ED_screen.h
===================================================================
--- trunk/blender/source/blender/editors/include/ED_screen.h 2011-02-01 23:41:01 UTC (rev 34613)
+++ trunk/blender/source/blender/editors/include/ED_screen.h 2011-02-01 23:51:52 UTC (rev 34614)
@@ -137,7 +137,7 @@
int ED_operator_action_active(struct bContext *C);
int ED_operator_buttons_active(struct bContext *C);
int ED_operator_node_active(struct bContext *C);
-int ED_operator_ipo_active(struct bContext *C);
+int ED_operator_graphedit_active(struct bContext *C);
int ED_operator_sequencer_active(struct bContext *C);
int ED_operator_image_active(struct bContext *C);
int ED_operator_nla_active(struct bContext *C);
Modified: trunk/blender/source/blender/editors/screen/screen_ops.c
===================================================================
--- trunk/blender/source/blender/editors/screen/screen_ops.c 2011-02-01 23:41:01 UTC (rev 34613)
+++ trunk/blender/source/blender/editors/screen/screen_ops.c 2011-02-01 23:51:52 UTC (rev 34614)
@@ -222,7 +222,7 @@
}
// XXX rename
-int ED_operator_ipo_active(bContext *C)
+int ED_operator_graphedit_active(bContext *C)
{
return ed_spacetype_test(C, SPACE_IPO);
}
Modified: trunk/blender/source/blender/editors/space_graph/graph_buttons.c
===================================================================
--- trunk/blender/source/blender/editors/space_graph/graph_buttons.c 2011-02-01 23:41:01 UTC (rev 34613)
+++ trunk/blender/source/blender/editors/space_graph/graph_buttons.c 2011-02-01 23:51:52 UTC (rev 34614)
@@ -762,7 +762,7 @@
ot->description= "Toggle display properties panel";
ot->exec= graph_properties;
- ot->poll= ED_operator_ipo_active; // xxx
+ ot->poll= ED_operator_graphedit_active;
/* flags */
ot->flag= 0;
Modified: trunk/blender/source/blender/editors/space_graph/graph_edit.c
===================================================================
--- trunk/blender/source/blender/editors/space_graph/graph_edit.c 2011-02-01 23:41:01 UTC (rev 34613)
+++ trunk/blender/source/blender/editors/space_graph/graph_edit.c 2011-02-01 23:51:52 UTC (rev 34614)
@@ -182,7 +182,7 @@
/* api callbacks */
ot->exec= graphkeys_previewrange_exec;
- ot->poll= ED_operator_ipo_active; // XXX: unchecked poll to get fsamples working too, but makes modifier damage trickier...
+ ot->poll= ED_operator_graphedit_active; // XXX: unchecked poll to get fsamples working too, but makes modifier damage trickier...
/* flags */
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
@@ -230,7 +230,7 @@
/* api callbacks */
ot->exec= graphkeys_viewall_exec;
- ot->poll= ED_operator_ipo_active; // XXX: unchecked poll to get fsamples working too, but makes modifier damage trickier...
+ ot->poll= ED_operator_graphedit_active; // XXX: unchecked poll to get fsamples working too, but makes modifier damage trickier...
/* flags */
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
@@ -388,7 +388,7 @@
/* api callbacks */
ot->exec= graphkeys_clear_ghostcurves_exec;
- ot->poll= ED_operator_ipo_active;
+ ot->poll= ED_operator_graphedit_active;
/* flags */
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
Modified: trunk/blender/source/blender/editors/space_graph/graph_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_graph/graph_ops.c 2011-02-01 23:41:01 UTC (rev 34613)
+++ trunk/blender/source/blender/editors/space_graph/graph_ops.c 2011-02-01 23:51:52 UTC (rev 34614)
@@ -170,7 +170,7 @@
ot->exec= graphview_cursor_exec;
ot->invoke= graphview_cursor_invoke;
ot->modal= graphview_cursor_modal;
- ot->poll= ED_operator_ipo_active;
+ ot->poll= ED_operator_graphedit_active;
/* flags */
ot->flag= OPTYPE_BLOCKING|OPTYPE_UNDO;
@@ -208,7 +208,7 @@
/* callbacks */
ot->exec= view_toggle_handles_exec;
- ot->poll= ED_operator_ipo_active;
+ ot->poll= ED_operator_graphedit_active;
}
/* ************************** registration - operator types **********************************/
More information about the Bf-blender-cvs
mailing list