[Bf-blender-cvs] [481e8ab] master: Fix: NLA editor not being updated on using "Make Links" (Ctrl)+(L). We're emitting a ND_NLA_ACTCHANGE signal now to make that work.

Thomas Beck noreply at git.blender.org
Sun Jun 29 14:25:04 CEST 2014


Commit: 481e8ab3c97a21748eed2f0a33fde971637790e0
Author: Thomas Beck
Date:   Sun Jun 29 14:17:32 2014 +0200
https://developer.blender.org/rB481e8ab3c97a21748eed2f0a33fde971637790e0

Fix: NLA editor not being updated on using "Make Links" (Ctrl)+(L). We're emitting a ND_NLA_ACTCHANGE signal now to make that work.

Found while documenting the NLA for my upcoming book

===================================================================

M	source/blender/editors/object/object_relations.c

===================================================================

diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c
index 9d7a359..3059d84 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -1635,6 +1635,7 @@ static int make_links_data_exec(bContext *C, wmOperator *op)
 
 	DAG_relations_tag_update(bmain);
 	WM_event_add_notifier(C, NC_SPACE | ND_SPACE_VIEW3D, CTX_wm_view3d(C));
+	WM_event_add_notifier(C, NC_ANIMATION | ND_NLA_ACTCHANGE, CTX_wm_view3d(C));
 	WM_event_add_notifier(C, NC_OBJECT, NULL);
 
 	return OPERATOR_FINISHED;




More information about the Bf-blender-cvs mailing list