Blender Git Loki
Git Commits -> Revision 4e09fd7
Revision 4e09fd7 by Julian Eisel (master) November 5, 2021, 13:57 (GMT) |
Cleanup (UI): Add/use type for operator context enum Adds a `wmOperatorCallContext` typedef for the existing `WM_OP_XXX` operator context enum. This adds type safety, allows the compiler to produce better warnings and helps understanding what a variable is for. Differential Revision: https://developer.blender.org/D13113 Reviewed by: Campbell Barton |
Commit Details:
Full Hash: 4e09fd76bcabb602f1bd31c2bbd5dd2b09e4b64a
Parent Commit: 3519860
Lines Changed: +105, -87
27 Modified Paths:
/source/blender/blenfont/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/include/ED_screen.h (+4, -2) (Diff)
/source/blender/editors/include/UI_interface.h (+15, -14) (Diff)
/source/blender/editors/interface/interface.c (+10, -10) (Diff)
/source/blender/editors/interface/interface_handlers.c (+3, -3) (Diff)
/source/blender/editors/interface/interface_intern.h (+4, -3) (Diff)
/source/blender/editors/interface/interface_layout.c (+9, -9) (Diff)
/source/blender/editors/interface/interface_region_menu_pie.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_region_menu_popup.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_region_popover.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+2, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_template_search_menu.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_user_menu.c (+2, -2) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_dataset_draw.cc (+1, -1) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -1) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/python/intern/bpy_operator.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+3, -3) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+15, -9) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+5, -5) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+2, -2) (Diff)
/source/blender/windowmanager/WM_api.h (+7, -7) (Diff)
/source/blender/windowmanager/wm_event_system.h (+2, -1) (Diff)
/source/blender/windowmanager/WM_keymap.h (+3, -2) (Diff)
/source/blender/windowmanager/WM_types.h (+6, -4) (Diff)
/source/blender/editors/include/ED_screen.h (+4, -2) (Diff)
/source/blender/editors/include/UI_interface.h (+15, -14) (Diff)
/source/blender/editors/interface/interface.c (+10, -10) (Diff)
/source/blender/editors/interface/interface_handlers.c (+3, -3) (Diff)
/source/blender/editors/interface/interface_intern.h (+4, -3) (Diff)
/source/blender/editors/interface/interface_layout.c (+9, -9) (Diff)
/source/blender/editors/interface/interface_region_menu_pie.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_region_menu_popup.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_region_popover.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+2, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_template_search_menu.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_user_menu.c (+2, -2) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_dataset_draw.cc (+1, -1) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -1) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/python/intern/bpy_operator.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+3, -3) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+15, -9) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+5, -5) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+2, -2) (Diff)
/source/blender/windowmanager/WM_api.h (+7, -7) (Diff)
/source/blender/windowmanager/wm_event_system.h (+2, -1) (Diff)
/source/blender/windowmanager/WM_keymap.h (+3, -2) (Diff)
/source/blender/windowmanager/WM_types.h (+6, -4) (Diff)