diff options
author | Julian Eisel <julian@blender.org> | 2020-12-23 16:25:58 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-12-23 16:34:24 +0300 |
commit | 27fcaa61733827dbb81b69fdeec0db2f656c6f03 (patch) | |
tree | 26e279f330c22e7362bf6b685a2af7cc1c809aea /source/blender/editors/screen/screen_ops.c | |
parent | 78d2ce19c4fbb5678995efae74a6128a3dcc4e73 (diff) |
Cleanup: Move functions to new ED (editor) operators file & general cleanup
With the new `ed_util_ops.c` introduced in 2250b5cefee7, existing code can be
cleaned up to use it.
* Move new ID preview operators to `ed_util_ops.c`
* Move ED operator registration to `ed_util_ops.c`
* Use doxygen sections in `ed_util_ops.c`
* Rename ID related ED operators to use `ED_OT_lib_id_` prefix.
* Remove unused `#include`s
Diffstat (limited to 'source/blender/editors/screen/screen_ops.c')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 87255bf8b5c..ca0b9aa93b7 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -5506,16 +5506,6 @@ void ED_operatortypes_screen(void) /* new/delete */ WM_operatortype_append(SCREEN_OT_new); WM_operatortype_append(SCREEN_OT_delete); - - /* tools shared by more space types */ - WM_operatortype_append(ED_OT_undo); - WM_operatortype_append(ED_OT_undo_push); - WM_operatortype_append(ED_OT_redo); - WM_operatortype_append(ED_OT_undo_redo); - WM_operatortype_append(ED_OT_undo_history); - - WM_operatortype_append(ED_OT_lib_id_load_custom_preview); - WM_operatortype_append(ED_OT_lib_id_generate_preview); } /** \} */ |