Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_event_system.c
| Context not available. | |||||
| /* modal handlers can get removed in this loop, we keep the loop this way | /* modal handlers can get removed in this loop, we keep the loop this way | ||||
| * | * | ||||
| * note: check 'handlers->first' because in rare cases the handlers can be cleared | * note: check 'handlers->first' because in rare cases the handlers can be cleared | ||||
| * by the event thats called, for eg: | * by the event that's called, for eg: | ||||
| * | * | ||||
| * Calling a python script which changes the area.type, see [#32232] */ | * Calling a python script which changes the area.type, see [#32232] */ | ||||
| for (handler = handlers->first; handler && handlers->first; handler = nexthandler) { | for (handler = handlers->first; handler && handlers->first; handler = nexthandler) { | ||||
| Context not available. | |||||
| bScreen *screen = WM_window_get_active_screen(win); | bScreen *screen = WM_window_get_active_screen(win); | ||||
| wmEvent *event; | wmEvent *event; | ||||
| /* some safty checks - these should always be set! */ | /* some safety checks - these should always be set! */ | ||||
| BLI_assert(WM_window_get_active_scene(win)); | BLI_assert(WM_window_get_active_scene(win)); | ||||
| BLI_assert(WM_window_get_active_screen(win)); | BLI_assert(WM_window_get_active_screen(win)); | ||||
| BLI_assert(WM_window_get_active_workspace(win)); | BLI_assert(WM_window_get_active_workspace(win)); | ||||
| Context not available. | |||||