Fix T66414: Brush Color Flip from keyboard (X) does not update color picker panel

Reviewers: brecht

Maniphest Tasks: T66414

Differential Revision: https://developer.blender.org/D5181
This commit is contained in:
Philipp Oeser 2019-07-04 13:12:42 +02:00
parent c497a7efab
commit c06eb4ab94
Notes: blender-bot 2023-12-22 20:14:11 +01:00
Referenced by issue #66414, Brush Color Flip from keyboard (X) does not update color picker panel
1 changed files with 10 additions and 0 deletions

View File

@ -843,6 +843,11 @@ static void image_buttons_region_listener(wmWindow *UNUSED(win),
ED_region_tag_redraw(ar);
}
break;
case NC_BRUSH:
if (wmn->action == NA_EDITED) {
ED_region_tag_redraw(ar);
}
break;
}
}
@ -946,6 +951,11 @@ static void image_header_region_listener(wmWindow *UNUSED(win),
break;
}
break;
case NC_BRUSH:
if (wmn->action == NA_EDITED) {
ED_region_tag_redraw(ar);
}
break;
}
}