Fix T40519: Keyed parameter are not redrawed

The issue has been introduced in 1fabfc9 by changing
notifiers being sent.
This commit is contained in:
Sergey Sharybin 2014-06-06 18:15:18 +06:00
parent 607cd0e8bc
commit 089608c25a
Notes: blender-bot 2023-02-14 10:31:55 +01:00
Referenced by issue #40519, Keyed parameter are not redrawed
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ static void buttons_area_listener(bScreen *UNUSED(sc), ScrArea *sa, wmNotifier *
case NC_ANIMATION:
switch (wmn->data) {
case ND_KEYFRAME:
if (wmn->action == NA_EDITED)
if (ELEM3(wmn->action, NA_EDITED, NA_ADDED, NA_REMOVED))
ED_area_tag_redraw(sa);
break;
}