From 12e523d12c88d05d220f426bdb08525a572649d6 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 17 May 2018 10:56:36 +0200 Subject: Fix menu navigation and modal tools affecting the active region. We updated the active region during redraw to fix missing updates on file load, restrict it more now to avoid unwanted updates. --- source/blender/editors/include/ED_screen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/include/ED_screen.h') diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index 4b22e691885..3d17afc2878 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -173,7 +173,7 @@ void ED_screen_update_after_scene_change( const struct bScreen *screen, struct Scene *scene_new, struct ViewLayer *view_layer); -void ED_screen_set_active_region(struct bContext *C, const int xy[2]); +void ED_screen_set_active_region(struct bContext *C, struct wmWindow *win, const int xy[2]); void ED_screen_exit(struct bContext *C, struct wmWindow *window, struct bScreen *screen); void ED_screen_animation_timer(struct bContext *C, int redraws, int refresh, int sync, int enable); void ED_screen_animation_timer_update(struct bScreen *screen, int redraws, int refresh); -- cgit v1.2.3