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:
authorJoshua Leung <aligorith@gmail.com>2011-06-27 08:24:59 +0400
committerJoshua Leung <aligorith@gmail.com>2011-06-27 08:24:59 +0400
commitfd3c5bef7e55ca22a96a74ca011e4ffe425e5321 (patch)
tree2be955ad8b7bbd1e7063946ec3bbe276ffdf63d7 /source/blender/editors/space_action
parentb6bc47eb098261189c63b3aecb806960db6235e1 (diff)
Bugfix: Selecting nodes now updates animation editors
Noticed while testing the material nodes commit
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r--source/blender/editors/space_action/space_action.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/space_action/space_action.c b/source/blender/editors/space_action/space_action.c
index 7a824e6bf9d..a05d1d3df93 100644
--- a/source/blender/editors/space_action/space_action.c
+++ b/source/blender/editors/space_action/space_action.c
@@ -405,6 +405,13 @@ static void action_listener(ScrArea *sa, wmNotifier *wmn)
break;
}
break;
+ case NC_NODE:
+ if (wmn->action == NA_SELECTED) {
+ /* selection changed, so force refresh to flush (needs flag set to do syncing) */
+ saction->flag |= SACTION_TEMP_NEEDCHANSYNC;
+ ED_area_tag_refresh(sa);
+ }
+ break;
case NC_SPACE:
switch (wmn->data) {
case ND_SPACE_DOPESHEET: