diff options
author | Joshua Leung <aligorith@gmail.com> | 2014-02-24 05:15:28 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2014-03-07 17:16:00 +0400 |
commit | 6e7ce9770f7efd5b7a1189caae50c4efbfd933ca (patch) | |
tree | 60dbc5fd28f666226f593c67a032ac5cb774263e /source | |
parent | 5e18eea02c0f37c80f893dd7f30da81061d0d4e3 (diff) |
Fix T38774: Added missing notifier flags for updating F-Curve after changing extrapolation from RNA
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_fcurve.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c index f4b6e071d05..4e193929e95 100644 --- a/source/blender/makesrna/intern/rna_fcurve.c +++ b/source/blender/makesrna/intern/rna_fcurve.c @@ -1768,8 +1768,7 @@ static void rna_def_fcurve(BlenderRNA *brna) RNA_def_property_enum_sdna(prop, NULL, "extend"); RNA_def_property_enum_items(prop, prop_mode_extend_items); RNA_def_property_ui_text(prop, "Extrapolation", ""); - /* XXX need an update callback for this so that animation gets evaluated */ - RNA_def_property_update(prop, NC_ANIMATION, NULL); + RNA_def_property_update(prop, NC_ANIMATION | ND_KEYFRAME | NA_EDITED, NULL); /* Pointers */ prop = RNA_def_property(srna, "driver", PROP_POINTER, PROP_NONE); |