From b8c7ff564cf580e72f1647e95fe6e02352aad3d2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 22 Feb 2020 02:41:49 +1100 Subject: Cleanup: un-indent ED_screen_set_active_region Also remove redundant flag assignment from previous comment. --- source/blender/windowmanager/intern/wm_toolsystem.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/blender/windowmanager') diff --git a/source/blender/windowmanager/intern/wm_toolsystem.c b/source/blender/windowmanager/intern/wm_toolsystem.c index 24e9aa0028c..9184a2b4566 100644 --- a/source/blender/windowmanager/intern/wm_toolsystem.c +++ b/source/blender/windowmanager/intern/wm_toolsystem.c @@ -661,10 +661,6 @@ static void toolsystem_refresh_screen_from_active_tool(Main *bmain, if (mode == tref->mode) { sa->runtime.tool = tref; sa->runtime.is_tool_set = true; - /* We only need to do this for the active area, - * however at this point the context isn't available. - * Set this here since it doesn't cause any extra work. */ - sa->flag |= AREA_FLAG_CURSOR_UPDATE; } } } -- cgit v1.2.3