[Bf-blender-cvs] [089608c] master: Fix T40519: Keyed parameter are not redrawed

Sergey Sharybin noreply at git.blender.org
Fri Jun 6 14:18:12 CEST 2014


Commit: 089608c25ad06ed42b7cd8f95585685d22ebb6a0
Author: Sergey Sharybin
Date:   Fri Jun 6 18:15:18 2014 +0600
https://developer.blender.org/rB089608c25ad06ed42b7cd8f95585685d22ebb6a0

Fix T40519: Keyed parameter are not redrawed

The issue has been introduced in 1fabfc9 by changing
notifiers being sent.

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

M	source/blender/editors/space_buttons/space_buttons.c

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

diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c
index 1257dcb..1c3bad9 100644
--- a/source/blender/editors/space_buttons/space_buttons.c
+++ b/source/blender/editors/space_buttons/space_buttons.c
@@ -358,7 +358,7 @@ static void buttons_area_listener(bScreen *UNUSED(sc), ScrArea *sa, wmNotifier *
 		case NC_ANIMATION:
 			switch (wmn->data) {
 				case ND_KEYFRAME:
-					if (wmn->action == NA_EDITED)
+					if (ELEM3(wmn->action, NA_EDITED, NA_ADDED, NA_REMOVED))
 						ED_area_tag_redraw(sa);
 					break;
 			}




More information about the Bf-blender-cvs mailing list