Cleanup: Rename ED_region_tag_redraw_overlay() to ED_region_tag_redraw_cursor()

Old name was a bit confusing/misleading, esp. since previous commit.
This commit is contained in:
Julian Eisel 2020-02-14 15:44:49 +01:00
parent c4b9cb0af0
commit 60e823fe22
3 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ void ED_region_update_rect(struct ARegion *ar);
void ED_region_floating_initialize(struct ARegion *ar);
void ED_region_tag_redraw(struct ARegion *ar);
void ED_region_tag_redraw_partial(struct ARegion *ar, const struct rcti *rct, bool rebuild);
void ED_region_tag_redraw_overlay(struct ARegion *ar);
void ED_region_tag_redraw_cursor(struct ARegion *ar);
void ED_region_tag_redraw_no_rebuild(struct ARegion *ar);
void ED_region_tag_refresh_ui(struct ARegion *ar);
void ED_region_tag_redraw_editor_overlays(struct ARegion *ar);

View File

@ -635,7 +635,7 @@ void ED_region_tag_redraw(ARegion *ar)
}
}
void ED_region_tag_redraw_overlay(ARegion *ar)
void ED_region_tag_redraw_cursor(ARegion *ar)
{
if (ar) {
ar->do_draw_overlay = RGN_DRAW;

View File

@ -829,7 +829,7 @@ static void view3d_main_region_listener(
case NC_BRUSH:
switch (wmn->action) {
case NA_EDITED:
ED_region_tag_redraw_overlay(ar);
ED_region_tag_redraw_cursor(ar);
break;
case NA_SELECTED:
/* used on brush changes - needed because 3d cursor