diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-20 14:14:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-20 14:19:16 +0300 |
commit | ef09aff61cdc4dc940a022c9e0c7c0ad9519780f (patch) | |
tree | 5f79be02041b9ae59254fe78a30bd2907f57c833 /source/blender/blenloader | |
parent | 454b90483dc72608e9bf7fc205b1ca849622f8d8 (diff) |
Preferences: add threshold for cursor motion
A hard coded threshold was used to ignore cursor motion,
make this a preference since tablet users may want to increase it
since a pen hovering isn't as easy to keep still as a mouse.
Resolves T56278
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_userdef.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c index 14d10bbf85e..ee6b0ab9533 100644 --- a/source/blender/blenloader/intern/versioning_userdef.c +++ b/source/blender/blenloader/intern/versioning_userdef.c @@ -481,6 +481,10 @@ void BLO_version_defaults_userpref_blend(Main *bmain, UserDef *userdef) BKE_addon_remove_safe(&userdef->addons, "io_scene_3ds"); } + if (!USER_VERSION_ATLEAST(280, 51)) { + userdef->move_threshold = 2; + } + /** * Include next version bump. */ |