Blender Git Commit Log

Git Commits -> Revision b22afef

Revision b22afef by Sybren A. Stüvel (master)
September 27, 2019, 15:02 (GMT)
Cleanup: Replace 'add mode' short for driver FCurve creation with an enum

The 'add mode' was a `short` between -1 and 2 inclusive, and magic numbers
sprinkled throughout the code. It's now an enum with descriptive names.

No functional changes.

Commit Details:

Full Hash: b22afef72c5cab001b7458defc3d042742803b9d
Parent Commit: 3c7707b
Lines Changed: +31, -25

4 Modified Paths:

/source/blender/editors/animation/drivers.c (+18, -20) (Diff)
/source/blender/editors/include/ED_keyframing.h (+11, -2) (Diff)
/source/blender/editors/interface/interface_anim.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_animation.c (+1, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021