Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2020-02-06 12:23:55 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2020-02-06 17:46:53 +0300
commit807aefd6234f7349d1bef2579def24c8bba9f31f (patch)
tree9523dbeba9211b36b0d2d943e38c5d9607c829ed /source/blender/editors/space_action/space_action.c
parent62ca9bcd0a7ff6fe52e359521369fc8b063d082a (diff)
Fix (unreported) timeline missing refresh on VSE selection change
Keyframes and channels were not updating immediately (you had to enter channel and main regions with the mouse to force a redraw). Differential Revision: https://developer.blender.org/D6762
Diffstat (limited to 'source/blender/editors/space_action/space_action.c')
-rw-r--r--source/blender/editors/space_action/space_action.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/space_action/space_action.c b/source/blender/editors/space_action/space_action.c
index 901efbdf0ff..f06b1a02675 100644
--- a/source/blender/editors/space_action/space_action.c
+++ b/source/blender/editors/space_action/space_action.c
@@ -546,6 +546,12 @@ static void action_listener(wmWindow *UNUSED(win),
break;
case NC_SCENE:
switch (wmn->data) {
+ case ND_SEQUENCER:
+ if (wmn->action == NA_SELECTED) {
+ saction->runtime.flag |= SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC;
+ ED_area_tag_refresh(sa);
+ }
+ break;
case ND_OB_ACTIVE:
case ND_OB_SELECT:
/* Selection changed, so force refresh to flush