diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2019-10-01 21:38:44 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2019-10-02 20:42:37 +0300 |
commit | aabd8701e98595bae57d59344ed5d127b8b0f7db (patch) | |
tree | 5f4bc9ecb2f5b23dfbcb2ab6556b22b3970556cf /release/datafiles | |
parent | d1a1302b01f445f9c877d6b8c51f6c561e0fda16 (diff) |
Implement a user preference for the default Auto Handle Smoothing mode.
The default was changed with an initial implementation of the feature.
With the feedback from animators, having a behavior which affects curves
outside of a changing range is not convenient for professional animators
working on high quality character animation. On the other hand, automatic
smoothing is better for casual animation of object motion.
This change adds an ability to change the default via User Preferences.
Differential Revision: https://developer.blender.org/D5875
Diffstat (limited to 'release/datafiles')
-rw-r--r-- | release/datafiles/userdef/userdef_default.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/datafiles/userdef/userdef_default.c b/release/datafiles/userdef/userdef_default.c index 7785c9d2962..dc35187ab7e 100644 --- a/release/datafiles/userdef/userdef_default.c +++ b/release/datafiles/userdef/userdef_default.c @@ -22,6 +22,7 @@ #include "DNA_userdef_types.h" #include "DNA_curve_types.h" #include "DNA_space_types.h" +#include "DNA_anim_types.h" #include "BLI_math_rotation.h" @@ -138,6 +139,7 @@ const UserDef U_default = { .glreslimit = 0, .curssize = 0, .color_picker_type = USER_CP_CIRCLE_HSV, + .auto_smoothing_new = FCURVE_SMOOTH_CONT_ACCEL, .ipo_new = BEZT_IPO_BEZ, .keyhandles_new = HD_AUTO_ANIM, .view_frame_type = ZOOM_FRAME_MODE_KEEP_RANGE, |