[Bf-blender-cvs] [6e7ce97] master: Fix T38774: Added missing notifier flags for updating F-Curve after changing extrapolation from RNA
Joshua Leung
noreply at git.blender.org
Fri Mar 7 14:17:22 CET 2014
Commit: 6e7ce9770f7efd5b7a1189caae50c4efbfd933ca
Author: Joshua Leung
Date: Mon Feb 24 14:15:28 2014 +1300
https://developer.blender.org/rB6e7ce9770f7efd5b7a1189caae50c4efbfd933ca
Fix T38774: Added missing notifier flags for updating F-Curve after changing extrapolation from RNA
===================================================================
M source/blender/makesrna/intern/rna_fcurve.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c
index f4b6e07..4e19392 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);
More information about the Bf-blender-cvs
mailing list