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:
parent
c4b9cb0af0
commit
60e823fe22
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue