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
This commit is contained in:
2019-03-20 22:14:13 +11:00
parent 454b90483d
commit ef09aff61c
10 changed files with 24 additions and 7 deletions

View File

@@ -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.
*/