diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-01 06:45:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-01 06:45:19 +0300 |
commit | 45b221834184e6bdc28e83338014ddea6eb1fad0 (patch) | |
tree | e94e3b767571ad403324172ef996e179d61d84af /source/blender/editors/interface/resources.c | |
parent | b71c27a446407448cb19660eb1564fe1d12c8281 (diff) |
User Prefs for NDOF dead-zone
D1344 with edits
Diffstat (limited to 'source/blender/editors/interface/resources.c')
-rw-r--r-- | source/blender/editors/interface/resources.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c index b9d88176dba..e8311443123 100644 --- a/source/blender/editors/interface/resources.c +++ b/source/blender/editors/interface/resources.c @@ -2631,6 +2631,10 @@ void init_userdef_do_versions(void) } } + if (!USER_VERSION_ATLEAST(275, 2)) { + U.ndof_deadzone = 0.1; + } + if (U.pixelsize == 0.0f) U.pixelsize = 1.0f; |