diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-22 11:26:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-22 11:26:09 +0400 |
commit | 4c3bb77012024a3f14181eafe850b4d68bca1191 (patch) | |
tree | 0b90fefff48b03ad117c5e16d65f6e653ff5f57b /source/blender/editors/space_outliner | |
parent | 675628d24deba0afdc3da5b7a5bc802b13506251 (diff) |
style cleanup: spaces aroudn operators for operator definitions.
Diffstat (limited to 'source/blender/editors/space_outliner')
3 files changed, 155 insertions, 155 deletions
diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c index e844688b6c2..27f0231ad05 100644 --- a/source/blender/editors/space_outliner/outliner_edit.c +++ b/source/blender/editors/space_outliner/outliner_edit.c @@ -205,13 +205,13 @@ static int outliner_item_openclose(bContext *C, wmOperator *op, wmEvent *event) void OUTLINER_OT_item_openclose(wmOperatorType *ot) { - ot->name= "Open/Close Item"; - ot->idname= "OUTLINER_OT_item_openclose"; - ot->description= "Toggle whether item under cursor is enabled or closed"; + ot->name = "Open/Close Item"; + ot->idname = "OUTLINER_OT_item_openclose"; + ot->description = "Toggle whether item under cursor is enabled or closed"; - ot->invoke= outliner_item_openclose; + ot->invoke = outliner_item_openclose; - ot->poll= ED_operator_outliner_active; + ot->poll = ED_operator_outliner_active; RNA_def_boolean(ot->srna, "all", 1, "All", "Close or open all items"); } @@ -291,13 +291,13 @@ static int outliner_item_rename(bContext *C, wmOperator *UNUSED(op), wmEvent *ev void OUTLINER_OT_item_rename(wmOperatorType *ot) { - ot->name= "Rename Item"; - ot->idname= "OUTLINER_OT_item_rename"; - ot->description= "Rename item under cursor"; + ot->name = "Rename Item"; + ot->idname = "OUTLINER_OT_item_rename"; + ot->description = "Rename item under cursor"; - ot->invoke= outliner_item_rename; + ot->invoke = outliner_item_rename; - ot->poll= ED_operator_outliner_active; + ot->poll = ED_operator_outliner_active; } /* ************************************************************** */ @@ -417,15 +417,15 @@ static int outliner_toggle_visibility_exec(bContext *C, wmOperator *UNUSED(op)) void OUTLINER_OT_visibility_toggle(wmOperatorType *ot) { /* identifiers */ - ot->name= "Toggle Visibility"; - ot->idname= "OUTLINER_OT_visibility_toggle"; - ot->description= "Toggle the visibility of selected items"; + ot->name = "Toggle Visibility"; + ot->idname = "OUTLINER_OT_visibility_toggle"; + ot->description = "Toggle the visibility of selected items"; /* callbacks */ - ot->exec= outliner_toggle_visibility_exec; - ot->poll= ED_operator_outliner_active_no_editobject; + ot->exec = outliner_toggle_visibility_exec; + ot->poll = ED_operator_outliner_active_no_editobject; - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } /* Toggle Selectability ---------------------------------------- */ @@ -463,15 +463,15 @@ static int outliner_toggle_selectability_exec(bContext *C, wmOperator *UNUSED(op void OUTLINER_OT_selectability_toggle(wmOperatorType *ot) { /* identifiers */ - ot->name= "Toggle Selectability"; - ot->idname= "OUTLINER_OT_selectability_toggle"; - ot->description= "Toggle the selectability"; + ot->name = "Toggle Selectability"; + ot->idname = "OUTLINER_OT_selectability_toggle"; + ot->description = "Toggle the selectability"; /* callbacks */ - ot->exec= outliner_toggle_selectability_exec; - ot->poll= ED_operator_outliner_active_no_editobject; + ot->exec = outliner_toggle_selectability_exec; + ot->poll = ED_operator_outliner_active_no_editobject; - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } /* Toggle Renderability ---------------------------------------- */ @@ -507,15 +507,15 @@ static int outliner_toggle_renderability_exec(bContext *C, wmOperator *UNUSED(op void OUTLINER_OT_renderability_toggle(wmOperatorType *ot) { /* identifiers */ - ot->name= "Toggle Renderability"; - ot->idname= "OUTLINER_OT_renderability_toggle"; - ot->description= "Toggle the renderability of selected items"; + ot->name = "Toggle Renderability"; + ot->idname = "OUTLINER_OT_renderability_toggle"; + ot->description = "Toggle the renderability of selected items"; /* callbacks */ - ot->exec= outliner_toggle_renderability_exec; - ot->poll= ED_operator_outliner_active; + ot->exec = outliner_toggle_renderability_exec; + ot->poll = ED_operator_outliner_active; - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } /* =============================================== */ @@ -541,13 +541,13 @@ static int outliner_toggle_expanded_exec(bContext *C, wmOperator *UNUSED(op)) void OUTLINER_OT_expanded_toggle(wmOperatorType *ot) { /* identifiers */ - ot->name= "Expand/Collapse All"; - ot->idname= "OUTLINER_OT_expanded_toggle"; - ot->description= "Expand/Collapse all items"; + ot->name = "Expand/Collapse All"; + ot->idname = "OUTLINER_OT_expanded_toggle"; + ot->description = "Expand/Collapse all items"; /* callbacks */ - ot->exec= outliner_toggle_expanded_exec; - ot->poll= ED_operator_outliner_active; + ot->exec = outliner_toggle_expanded_exec; + ot->poll = ED_operator_outliner_active; /* no undo or registry, UI option */ } @@ -576,13 +576,13 @@ static int outliner_toggle_selected_exec(bContext *C, wmOperator *UNUSED(op)) void OUTLINER_OT_selected_toggle(wmOperatorType *ot) { /* identifiers */ - ot->name= "Toggle Selected"; - ot->idname= "OUTLINER_OT_selected_toggle"; - ot->description= "Toggle the Outliner selection of items"; + ot->name = "Toggle Selected"; + ot->idname = "OUTLINER_OT_selected_toggle"; + ot->description = "Toggle the Outliner selection of items"; /* callbacks */ - ot->exec= outliner_toggle_selected_exec; - ot->poll= ED_operator_outliner_active; + ot->exec = outliner_toggle_selected_exec; + ot->poll = ED_operator_outliner_active; /* no undo or registry, UI option */ } @@ -631,13 +631,13 @@ static int outliner_show_active_exec(bContext *C, wmOperator *UNUSED(op)) void OUTLINER_OT_show_active(wmOperatorType *ot) { /* identifiers */ - ot->name= "Show Active"; - ot->idname= "OUTLINER_OT_show_active"; - ot->description= "Adjust the view so that the active Object is shown centered"; + ot->name = "Show Active"; + ot->idname = "OUTLINER_OT_show_active"; + ot->description = "Adjust the view so that the active Object is shown centered"; /* callbacks */ - ot->exec= outliner_show_active_exec; - ot->poll= ED_operator_outliner_active; + ot->exec = outliner_show_active_exec; + ot->poll = ED_operator_outliner_active; } /* View Panning --------------------------------------------------- */ @@ -664,13 +664,13 @@ static int outliner_scroll_page_exec(bContext *C, wmOperator *op) void OUTLINER_OT_scroll_page(wmOperatorType *ot) { /* identifiers */ - ot->name= "Scroll Page"; - ot->idname= "OUTLINER_OT_scroll_page"; - ot->description= "Scroll page up or down"; + ot->name = "Scroll Page"; + ot->idname = "OUTLINER_OT_scroll_page"; + ot->description = "Scroll page up or down"; /* callbacks */ - ot->exec= outliner_scroll_page_exec; - ot->poll= ED_operator_outliner_active; + ot->exec = outliner_scroll_page_exec; + ot->poll = ED_operator_outliner_active; /* properties */ RNA_def_boolean(ot->srna, "up", 0, "Up", "Scroll up one page"); @@ -862,13 +862,13 @@ static int outliner_one_level_exec(bContext *C, wmOperator *op) void OUTLINER_OT_show_one_level(wmOperatorType *ot) { /* identifiers */ - ot->name= "Show/Hide One Level"; - ot->idname= "OUTLINER_OT_show_one_level"; - ot->description= "Expand/collapse all entries by one level"; + ot->name = "Show/Hide One Level"; + ot->idname = "OUTLINER_OT_show_one_level"; + ot->description = "Expand/collapse all entries by one level"; /* callbacks */ - ot->exec= outliner_one_level_exec; - ot->poll= ED_operator_outliner_active; + ot->exec = outliner_one_level_exec; + ot->poll = ED_operator_outliner_active; /* no undo or registry, UI option */ @@ -936,13 +936,13 @@ static int outliner_show_hierarchy_exec(bContext *C, wmOperator *UNUSED(op)) void OUTLINER_OT_show_hierarchy(wmOperatorType *ot) { /* identifiers */ - ot->name= "Show Hierarchy"; - ot->idname= "OUTLINER_OT_show_hierarchy"; - ot->description= "Open all object entries and close all others"; + ot->name = "Show Hierarchy"; + ot->idname = "OUTLINER_OT_show_hierarchy"; + ot->description = "Open all object entries and close all others"; /* callbacks */ - ot->exec= outliner_show_hierarchy_exec; - ot->poll= ED_operator_outliner_active; // TODO: shouldn't be allowed in RNA views... + ot->exec = outliner_show_hierarchy_exec; + ot->poll = ED_operator_outliner_active; // TODO: shouldn't be allowed in RNA views... /* no undo or registry, UI option */ } @@ -1206,13 +1206,13 @@ static int outliner_drivers_addsel_exec(bContext *C, wmOperator *op) void OUTLINER_OT_drivers_add_selected(wmOperatorType *ot) { /* api callbacks */ - ot->idname= "OUTLINER_OT_drivers_add_selected"; - ot->name= "Add Drivers for Selected"; - ot->description= "Add drivers to selected items"; + ot->idname = "OUTLINER_OT_drivers_add_selected"; + ot->name = "Add Drivers for Selected"; + ot->description = "Add drivers to selected items"; /* api callbacks */ - ot->exec= outliner_drivers_addsel_exec; - ot->poll= ed_operator_outliner_datablocks_active; + ot->exec = outliner_drivers_addsel_exec; + ot->poll = ed_operator_outliner_datablocks_active; /* flags */ ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; @@ -1241,13 +1241,13 @@ static int outliner_drivers_deletesel_exec(bContext *C, wmOperator *op) void OUTLINER_OT_drivers_delete_selected(wmOperatorType *ot) { /* identifiers */ - ot->idname= "OUTLINER_OT_drivers_delete_selected"; - ot->name= "Delete Drivers for Selected"; - ot->description= "Delete drivers assigned to selected items"; + ot->idname = "OUTLINER_OT_drivers_delete_selected"; + ot->name = "Delete Drivers for Selected"; + ot->description = "Delete drivers assigned to selected items"; /* api callbacks */ - ot->exec= outliner_drivers_deletesel_exec; - ot->poll= ed_operator_outliner_datablocks_active; + ot->exec = outliner_drivers_deletesel_exec; + ot->poll = ed_operator_outliner_datablocks_active; /* flags */ ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; @@ -1380,13 +1380,13 @@ static int outliner_keyingset_additems_exec(bContext *C, wmOperator *op) void OUTLINER_OT_keyingset_add_selected(wmOperatorType *ot) { /* identifiers */ - ot->idname= "OUTLINER_OT_keyingset_add_selected"; - ot->name= "Keying Set Add Selected"; - ot->description= "Add selected items (blue-grey rows) to active Keying Set"; + ot->idname = "OUTLINER_OT_keyingset_add_selected"; + ot->name = "Keying Set Add Selected"; + ot->description = "Add selected items (blue-grey rows) to active Keying Set"; /* api callbacks */ - ot->exec= outliner_keyingset_additems_exec; - ot->poll= ed_operator_outliner_datablocks_active; + ot->exec = outliner_keyingset_additems_exec; + ot->poll = ed_operator_outliner_datablocks_active; /* flags */ ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; @@ -1417,13 +1417,13 @@ static int outliner_keyingset_removeitems_exec(bContext *C, wmOperator *UNUSED(o void OUTLINER_OT_keyingset_remove_selected(wmOperatorType *ot) { /* identifiers */ - ot->idname= "OUTLINER_OT_keyingset_remove_selected"; - ot->name= "Keying Set Remove Selected"; + ot->idname = "OUTLINER_OT_keyingset_remove_selected"; + ot->name = "Keying Set Remove Selected"; ot->description = "Remove selected items (blue-grey rows) from active Keying Set"; /* api callbacks */ - ot->exec= outliner_keyingset_removeitems_exec; - ot->poll= ed_operator_outliner_datablocks_active; + ot->exec = outliner_keyingset_removeitems_exec; + ot->poll = ed_operator_outliner_datablocks_active; /* flags */ ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; @@ -1624,18 +1624,18 @@ static int parent_drop_invoke(bContext *C, wmOperator *op, wmEvent *event) void OUTLINER_OT_parent_drop(wmOperatorType *ot) { /* identifiers */ - ot->name= "Drop to Set Parent"; + ot->name = "Drop to Set Parent"; ot->description = "Drag to parent in Outliner"; - ot->idname= "OUTLINER_OT_parent_drop"; + ot->idname = "OUTLINER_OT_parent_drop"; /* api callbacks */ - ot->invoke= parent_drop_invoke; - ot->exec= parent_drop_exec; + ot->invoke = parent_drop_invoke; + ot->exec = parent_drop_exec; - ot->poll= ED_operator_outliner_active; + ot->poll = ED_operator_outliner_active; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; /* properties */ RNA_def_string(ot->srna, "child", "Object", MAX_ID_NAME, "Child", "Child Object"); @@ -1702,17 +1702,17 @@ static int parent_clear_invoke(bContext *C, wmOperator *op, wmEvent *UNUSED(even void OUTLINER_OT_parent_clear(wmOperatorType *ot) { /* identifiers */ - ot->name= "Drop to Clear Parent"; + ot->name = "Drop to Clear Parent"; ot->description = "Drag to clear parent in Outliner"; - ot->idname= "OUTLINER_OT_parent_clear"; + ot->idname = "OUTLINER_OT_parent_clear"; /* api callbacks */ - ot->invoke= parent_clear_invoke; + ot->invoke = parent_clear_invoke; - ot->poll= ED_operator_outliner_active; + ot->poll = ED_operator_outliner_active; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; /* properties */ RNA_def_string(ot->srna, "dragged_obj", "Object", MAX_ID_NAME, "Child", "Child Object"); diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c index 4814edf585e..ef9077d09ed 100644 --- a/source/blender/editors/space_outliner/outliner_select.c +++ b/source/blender/editors/space_outliner/outliner_select.c @@ -863,13 +863,13 @@ static int outliner_item_activate(bContext *C, wmOperator *op, wmEvent *event) void OUTLINER_OT_item_activate(wmOperatorType *ot) { - ot->name= "Activate Item"; - ot->idname= "OUTLINER_OT_item_activate"; - ot->description= "Handle mouse clicks to activate/select items"; + ot->name = "Activate Item"; + ot->idname = "OUTLINER_OT_item_activate"; + ot->description = "Handle mouse clicks to activate/select items"; - ot->invoke= outliner_item_activate; + ot->invoke = outliner_item_activate; - ot->poll= ED_operator_outliner_active; + ot->poll = ED_operator_outliner_active; RNA_def_boolean(ot->srna, "extend", 1, "Extend", "Extend selection for activation"); } @@ -930,20 +930,20 @@ static int outliner_border_select_exec(bContext *C, wmOperator *op) void OUTLINER_OT_select_border(wmOperatorType *ot) { /* identifiers */ - ot->name= "Border Select"; - ot->idname= "OUTLINER_OT_select_border"; - ot->description= "Use box selection to select tree elements"; + ot->name = "Border Select"; + ot->idname = "OUTLINER_OT_select_border"; + ot->description = "Use box selection to select tree elements"; /* api callbacks */ - ot->invoke= WM_border_select_invoke; - ot->exec= outliner_border_select_exec; - ot->modal= WM_border_select_modal; - ot->cancel= WM_border_select_cancel; + ot->invoke = WM_border_select_invoke; + ot->exec = outliner_border_select_exec; + ot->modal = WM_border_select_modal; + ot->cancel = WM_border_select_cancel; - ot->poll= ED_operator_outliner_active; + ot->poll = ED_operator_outliner_active; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; /* rna */ WM_operator_properties_gesture_border(ot, FALSE); diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c index c7587935cb3..b53d8ebc4a0 100644 --- a/source/blender/editors/space_outliner/outliner_tools.c +++ b/source/blender/editors/space_outliner/outliner_tools.c @@ -619,18 +619,18 @@ static int outliner_object_operation_exec(bContext *C, wmOperator *op) void OUTLINER_OT_object_operation(wmOperatorType *ot) { /* identifiers */ - ot->name= "Outliner Object Operation"; - ot->idname= "OUTLINER_OT_object_operation"; - ot->description= ""; + ot->name = "Outliner Object Operation"; + ot->idname = "OUTLINER_OT_object_operation"; + ot->description = ""; /* callbacks */ - ot->invoke= WM_menu_invoke; - ot->exec= outliner_object_operation_exec; - ot->poll= ED_operator_outliner_active; + ot->invoke = WM_menu_invoke; + ot->exec = outliner_object_operation_exec; + ot->poll = ED_operator_outliner_active; - ot->flag= 0; + ot->flag = 0; - ot->prop= RNA_def_enum(ot->srna, "type", prop_object_op_types, 0, "Object Operation", ""); + ot->prop = RNA_def_enum(ot->srna, "type", prop_object_op_types, 0, "Object Operation", ""); } /* **************************************** */ @@ -699,18 +699,18 @@ static int outliner_group_operation_exec(bContext *C, wmOperator *op) void OUTLINER_OT_group_operation(wmOperatorType *ot) { /* identifiers */ - ot->name= "Outliner Group Operation"; - ot->idname= "OUTLINER_OT_group_operation"; - ot->description= ""; + ot->name = "Outliner Group Operation"; + ot->idname = "OUTLINER_OT_group_operation"; + ot->description = ""; /* callbacks */ - ot->invoke= WM_menu_invoke; - ot->exec= outliner_group_operation_exec; - ot->poll= ED_operator_outliner_active; + ot->invoke = WM_menu_invoke; + ot->exec = outliner_group_operation_exec; + ot->poll = ED_operator_outliner_active; - ot->flag= 0; + ot->flag = 0; - ot->prop= RNA_def_enum(ot->srna, "type", prop_group_op_types, 0, "Group Operation", ""); + ot->prop = RNA_def_enum(ot->srna, "type", prop_group_op_types, 0, "Group Operation", ""); } /* **************************************** */ @@ -869,18 +869,18 @@ static int outliner_id_operation_exec(bContext *C, wmOperator *op) void OUTLINER_OT_id_operation(wmOperatorType *ot) { /* identifiers */ - ot->name= "Outliner ID data Operation"; - ot->idname= "OUTLINER_OT_id_operation"; - ot->description= ""; + ot->name = "Outliner ID data Operation"; + ot->idname = "OUTLINER_OT_id_operation"; + ot->description = ""; /* callbacks */ - ot->invoke= WM_menu_invoke; - ot->exec= outliner_id_operation_exec; - ot->poll= ED_operator_outliner_active; + ot->invoke = WM_menu_invoke; + ot->exec = outliner_id_operation_exec; + ot->poll = ED_operator_outliner_active; - ot->flag= 0; + ot->flag = 0; - ot->prop= RNA_def_enum(ot->srna, "type", prop_id_op_types, 0, "ID data Operation", ""); + ot->prop = RNA_def_enum(ot->srna, "type", prop_id_op_types, 0, "ID data Operation", ""); } /* **************************************** */ @@ -972,23 +972,23 @@ void OUTLINER_OT_action_set(wmOperatorType *ot) PropertyRNA *prop; /* identifiers */ - ot->name= "Outliner Set Action"; - ot->idname= "OUTLINER_OT_action_set"; - ot->description= "Change the active action used"; + ot->name = "Outliner Set Action"; + ot->idname = "OUTLINER_OT_action_set"; + ot->description = "Change the active action used"; /* api callbacks */ - ot->invoke= WM_enum_search_invoke; - ot->exec= outliner_action_set_exec; - ot->poll= ED_operator_outliner_active; + ot->invoke = WM_enum_search_invoke; + ot->exec = outliner_action_set_exec; + ot->poll = ED_operator_outliner_active; /* flags */ - ot->flag= 0; + ot->flag = 0; /* props */ // TODO: this would be nicer as an ID-pointer... prop= RNA_def_enum(ot->srna, "action", DummyRNA_NULL_items, 0, "Action", ""); RNA_def_enum_funcs(prop, RNA_action_itemf); - ot->prop= prop; + ot->prop = prop; } /* **************************************** */ @@ -1087,18 +1087,18 @@ static int outliner_animdata_operation_exec(bContext *C, wmOperator *op) void OUTLINER_OT_animdata_operation(wmOperatorType *ot) { /* identifiers */ - ot->name= "Outliner Animation Data Operation"; - ot->idname= "OUTLINER_OT_animdata_operation"; - ot->description= ""; + ot->name = "Outliner Animation Data Operation"; + ot->idname = "OUTLINER_OT_animdata_operation"; + ot->description = ""; /* callbacks */ - ot->invoke= WM_menu_invoke; - ot->exec= outliner_animdata_operation_exec; - ot->poll= ED_operator_outliner_active; + ot->invoke = WM_menu_invoke; + ot->exec = outliner_animdata_operation_exec; + ot->poll = ED_operator_outliner_active; - ot->flag= 0; + ot->flag = 0; - ot->prop= RNA_def_enum(ot->srna, "type", prop_animdata_op_types, 0, "Animation Operation", ""); + ot->prop = RNA_def_enum(ot->srna, "type", prop_animdata_op_types, 0, "Animation Operation", ""); } /* **************************************** */ @@ -1158,18 +1158,18 @@ static int outliner_data_operation_exec(bContext *C, wmOperator *op) void OUTLINER_OT_data_operation(wmOperatorType *ot) { /* identifiers */ - ot->name= "Outliner Data Operation"; - ot->idname= "OUTLINER_OT_data_operation"; - ot->description= ""; + ot->name = "Outliner Data Operation"; + ot->idname = "OUTLINER_OT_data_operation"; + ot->description = ""; /* callbacks */ - ot->invoke= WM_menu_invoke; - ot->exec= outliner_data_operation_exec; - ot->poll= ED_operator_outliner_active; + ot->invoke = WM_menu_invoke; + ot->exec = outliner_data_operation_exec; + ot->poll = ED_operator_outliner_active; - ot->flag= 0; + ot->flag = 0; - ot->prop= RNA_def_enum(ot->srna, "type", prop_data_op_types, 0, "Data Operation", ""); + ot->prop = RNA_def_enum(ot->srna, "type", prop_data_op_types, 0, "Data Operation", ""); } @@ -1259,13 +1259,13 @@ static int outliner_operation(bContext *C, wmOperator *UNUSED(op), wmEvent *even /* Menu only! Calls other operators */ void OUTLINER_OT_operation(wmOperatorType *ot) { - ot->name= "Execute Operation"; - ot->idname= "OUTLINER_OT_operation"; - ot->description= "Context menu for item operations"; + ot->name = "Execute Operation"; + ot->idname = "OUTLINER_OT_operation"; + ot->description = "Context menu for item operations"; - ot->invoke= outliner_operation; + ot->invoke = outliner_operation; - ot->poll= ED_operator_outliner_active; + ot->poll = ED_operator_outliner_active; } /* ****************************************************** */ |