diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-02-02 02:51:52 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-02-02 02:51:52 +0300 |
commit | 501703020a60a446e7dc344a4f56b140f99dc440 (patch) | |
tree | eb0d7bafdad0b4148b8a85c32fe5f610d8c79bf1 /source/blender/editors | |
parent | efd1d0f901ceed1b278ed4b3079d379ff17c5f1e (diff) |
"Batch-Edit" Code cleanup: Renaming ED_operator_ipo_active to
ED_operator_graphedit_active
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/animation/anim_channels_edit.c | 4 | ||||
-rw-r--r-- | source/blender/editors/include/ED_screen.h | 2 | ||||
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_graph/graph_buttons.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_graph/graph_edit.c | 6 | ||||
-rw-r--r-- | source/blender/editors/space_graph/graph_ops.c | 4 |
6 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c index 6701729f34f..c5d32492f87 100644 --- a/source/blender/editors/animation/anim_channels_edit.c +++ b/source/blender/editors/animation/anim_channels_edit.c @@ -1228,7 +1228,7 @@ void ANIM_OT_channels_visibility_set (wmOperatorType *ot) /* 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 @@ void ANIM_OT_channels_visibility_toggle (wmOperatorType *ot) /* 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; diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index a27a792eeee..1ceb2216938 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -137,7 +137,7 @@ int ED_operator_file_active(struct bContext *C); 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); diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 5a1ba01c4e3..4433484eeaf 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -222,7 +222,7 @@ int ED_operator_node_active(bContext *C) } // XXX rename -int ED_operator_ipo_active(bContext *C) +int ED_operator_graphedit_active(bContext *C) { return ed_spacetype_test(C, SPACE_IPO); } diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index c937ebca547..635044fa795 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -762,7 +762,7 @@ void GRAPH_OT_properties(wmOperatorType *ot) 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; diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c index e688454464c..e21dd46140e 100644 --- a/source/blender/editors/space_graph/graph_edit.c +++ b/source/blender/editors/space_graph/graph_edit.c @@ -182,7 +182,7 @@ void GRAPH_OT_previewrange_set (wmOperatorType *ot) /* 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 @@ void GRAPH_OT_view_all (wmOperatorType *ot) /* 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 @@ void GRAPH_OT_ghost_curves_clear (wmOperatorType *ot) /* 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; diff --git a/source/blender/editors/space_graph/graph_ops.c b/source/blender/editors/space_graph/graph_ops.c index 42f0f35f4e8..efec8dc4259 100644 --- a/source/blender/editors/space_graph/graph_ops.c +++ b/source/blender/editors/space_graph/graph_ops.c @@ -170,7 +170,7 @@ void GRAPH_OT_cursor_set(wmOperatorType *ot) 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 @@ void GRAPH_OT_view_togglehandles (wmOperatorType *ot) /* callbacks */ ot->exec= view_toggle_handles_exec; - ot->poll= ED_operator_ipo_active; + ot->poll= ED_operator_graphedit_active; } /* ************************** registration - operator types **********************************/ |