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:
authorSybren A. Stüvel <sybren@stuvel.eu>2017-02-24 20:21:46 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2017-03-17 13:04:13 +0300
commit502c4be56e481fc3d6c45d40d8bc3da2bf93226e (patch)
treeb00fb9b8ee1c3be971ef8514f5e437eb0fe878cd
parenta58350b07f4c848f3d424a0505791245b444ea64 (diff)
fix: redraw dope sheet / action editor when pose bone selection changes
-rw-r--r--source/blender/makesrna/intern/rna_armature.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_armature.c b/source/blender/makesrna/intern/rna_armature.c
index 07d295c8bbc..891f5c43ca6 100644
--- a/source/blender/makesrna/intern/rna_armature.c
+++ b/source/blender/makesrna/intern/rna_armature.c
@@ -187,6 +187,9 @@ static void rna_Bone_select_update(Main *UNUSED(bmain), Scene *UNUSED(scene), Po
}
WM_main_add_notifier(NC_GEOM | ND_DATA, id);
+
+ /* spaces that show animation data of the selected bone need updating */
+ WM_main_add_notifier(NC_ANIMATION | ND_ANIMCHAN, id);
}
static char *rna_Bone_path(PointerRNA *ptr)