Blender Git Commit Log

Git Commits -> Revision e79bb95

Revision e79bb95 by Lukas Stockner (master)
December 8, 2018, 17:06 (GMT)
User Interface: Add button color for indicating that the value differs from the interpolated one

One issue that especially newer users often run into is that they accidentally reset changes to the scene by switching frame without creating a keyframe first.

Therefore, this commit adds a new color that is used to draw properties if their current value differs from the one that would be set when switching to this frame.
This works both for existing keyframes as well as for currently interpolated frames.

Unfortunately the flags in but->flag are full, so I had to move the new flag to but->drawflag and pass that to all relevant functions.

I went with orange for the color since afaics it fits with the green and yellow that are currently used for keyframe states and since it's somewhat reddish to signify that there might be something to look out for here.

Reviewers: campbellbarton, #user_interface, brecht

Reviewed By: campbellbarton

Subscribers: brecht, predoe

Differential Revision: https://developer.blender.org/D3949

Commit Details:

Full Hash: e79bb957fc3d59a659d176cdd7f8b7faf5f0963f
Parent Commit: aff9ccb
Lines Changed: +84, -28

10 Modified Paths:

/release/datafiles/userdef/userdef_default_theme.c (+2, -0) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+2, -0) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+5, -0) (Diff)
/source/blender/editors/animation/keyframing.c (+14, -0) (Diff)
/source/blender/editors/include/ED_keyframing.h (+6, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+2, -0) (Diff)
/source/blender/editors/interface/interface_anim.c (+4, -0) (Diff)
/source/blender/editors/interface/interface_widgets.c (+37, -28) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+10, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021