diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-12-17 12:40:52 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-12-17 12:51:27 +0400 |
commit | 51f5c994e9f03ec2c488ac3a2af02b43c34d7ca6 (patch) | |
tree | 16d0e592b9f5b827bda5b8f238a943a5a5b12984 /source/blender/editors/include/ED_keyframing.h | |
parent | e68144aed71497015384ab1a1504667a36fde330 (diff) |
Fix T37103: Keyframing custom properties issue (FCurve would not reflect Custom props type changes).
Add an helper func to re-compute integer-only fcurve flags, and call it when editing custom props.
Reviewed by aligorith, thanks!
Summary: Proposal fix for "keyframing custom properties issue" (T37103).
Reviewers: aligorith
Maniphest Tasks: T37103
Differential Revision: http://developer.blender.org/D111
Diffstat (limited to 'source/blender/editors/include/ED_keyframing.h')
-rw-r--r-- | source/blender/editors/include/ED_keyframing.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_keyframing.h b/source/blender/editors/include/ED_keyframing.h index dc40efc748b..82cf216e75c 100644 --- a/source/blender/editors/include/ED_keyframing.h +++ b/source/blender/editors/include/ED_keyframing.h @@ -81,6 +81,15 @@ struct FCurve *verify_fcurve(struct bAction *act, const char group[], struct Poi /* -------- */ /* Lesser Keyframing API call: + * Update integer/discrete flags of the FCurve (used when creating/inserting keyframes, + * but also through RNA when editing an ID prop, see T37103). + */ +void update_autoflags_fcurve(struct FCurve *fcu, struct bContext *C, struct ReportList *reports, + struct PointerRNA *ptr); + +/* -------- */ + +/* Lesser Keyframing API call: * Use this when validation of necessary animation data isn't necessary as it already * exists, and there is a beztriple that can be directly copied into the array. */ |