"Batch-Edit" Code cleanup: Renaming ED_operator_ipo_active to

ED_operator_graphedit_active
This commit is contained in:
2011-02-01 23:51:52 +00:00
parent efd1d0f901
commit 501703020a
6 changed files with 10 additions and 10 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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 **********************************/