diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-21 18:41:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-21 18:43:37 +0300 |
commit | b8c7ff564cf580e72f1647e95fe6e02352aad3d2 (patch) | |
tree | 539df4d432e2f3534eb5d90bcf112872bfb94405 /source/blender/windowmanager/intern | |
parent | d0578a94eeccdb68363a7b018ba017a4b6ba907f (diff) |
Cleanup: un-indent ED_screen_set_active_region
Also remove redundant flag assignment from previous comment.
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r-- | source/blender/windowmanager/intern/wm_toolsystem.c | 4 |
1 files changed, 0 insertions, 4 deletions
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; } } } |