Cleanup: un-indent ED_screen_set_active_region
Also remove redundant flag assignment from previous comment.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user