[Bf-blender-cvs] [502c4be56e] master: fix: redraw dope sheet / action editor when pose bone selection changes
Sybren A. Stüvel
noreply at git.blender.org
Fri Mar 17 11:12:54 CET 2017
Commit: 502c4be56e481fc3d6c45d40d8bc3da2bf93226e
Author: Sybren A. Stüvel
Date: Fri Feb 24 18:21:46 2017 +0100
Branches: master
https://developer.blender.org/rB502c4be56e481fc3d6c45d40d8bc3da2bf93226e
fix: redraw dope sheet / action editor when pose bone selection changes
===================================================================
M source/blender/makesrna/intern/rna_armature.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_armature.c b/source/blender/makesrna/intern/rna_armature.c
index 07d295c8bb..891f5c43ca 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)
More information about the Bf-blender-cvs
mailing list