Fix T43566: Missing update event for VSE
VSE was missing NC_ANIMATION | ND_KEYFRAME events. Also need to invalidate cache on those, else keyframe editing do not get reflected in VSE preview!
This commit is contained in:
@@ -504,6 +504,13 @@ static void sequencer_main_area_listener(bScreen *UNUSED(sc), ScrArea *UNUSED(sa
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case NC_ANIMATION:
|
||||
switch (wmn->data) {
|
||||
case ND_KEYFRAME:
|
||||
ED_region_tag_redraw(ar);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case NC_SPACE:
|
||||
if (wmn->data == ND_SPACE_SEQUENCER)
|
||||
ED_region_tag_redraw(ar);
|
||||
@@ -604,6 +611,15 @@ static void sequencer_preview_area_listener(bScreen *UNUSED(sc), ScrArea *UNUSED
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case NC_ANIMATION:
|
||||
switch (wmn->data) {
|
||||
case ND_KEYFRAME:
|
||||
/* Otherwise, often prevents seing immediately effects of keyframe editing... */
|
||||
BKE_sequencer_cache_cleanup();
|
||||
ED_region_tag_redraw(ar);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case NC_SPACE:
|
||||
if (wmn->data == ND_SPACE_SEQUENCER)
|
||||
ED_region_tag_redraw(ar);
|
||||
|
||||
Reference in New Issue
Block a user