Fix T38774: Added missing notifier flags for updating F-Curve after changing extrapolation from RNA
This commit is contained in:
parent
5e18eea02c
commit
6e7ce9770f
Notes:
blender-bot
2023-02-14 20:10:51 +01:00
Referenced by issue blender/blender-addons#38774, Changing extrapolation type via RNA doesn't refresh F-Curve
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue