Cleanup: un-indent ED_screen_set_active_region

Also remove redundant flag assignment from previous comment.
This commit is contained in:
2020-02-22 02:41:49 +11:00
parent d0578a94ee
commit b8c7ff564c
2 changed files with 67 additions and 68 deletions

View File

@@ -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;
}
}
}