[Bf-blender-cvs] [a600531] master: FCurve: Setting extrapolation needs to recalc handles

Campbell Barton noreply at git.blender.org
Wed May 28 04:31:10 CEST 2014


Commit: a6005319a7f5fdd317132ea9ce4256f63d60e1f8
Author: Campbell Barton
Date:   Wed May 28 12:24:47 2014 +1000
https://developer.blender.org/rBa6005319a7f5fdd317132ea9ce4256f63d60e1f8

FCurve: Setting extrapolation needs to recalc handles

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

M	source/blender/editors/space_graph/graph_edit.c

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

diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c
index f8bc5e9..6ed7689 100644
--- a/source/blender/editors/space_graph/graph_edit.c
+++ b/source/blender/editors/space_graph/graph_edit.c
@@ -1364,6 +1364,8 @@ static void setexpo_graph_keys(bAnimContext *ac, short mode)
 		if (mode >= 0) {
 			/* just set mode setting */
 			fcu->extend = mode;
+
+			ale->update |= ANIM_UPDATE_HANDLES;
 		}
 		else {
 			/* shortcuts for managing Cycles F-Modifiers to make it easier to toggle cyclic animation




More information about the Bf-blender-cvs mailing list