Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Müller <nexyon@gmail.com>2019-03-11 01:28:51 +0300
committerJörg Müller <nexyon@gmail.com>2019-03-11 01:28:51 +0300
commit6fd11a21f5c589aab856ca5992fea768820229ec (patch)
tree81d6863fb2b5164012c4c824ae425495726c636a /source/blender/blenloader
parent1cc8f9d463a7cffbe5a466a4d83a8070a5b8d959 (diff)
Fix T62255: Blender defaults to "OpenAL Soft" in sound settings, regardless of saved preferences
- Default device (index 0) was hard coded. - Also fixing crash with invalid device passed to blender via -setaudio.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_userdef.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c
index ef0cd7bc7d5..84722f3a3f7 100644
--- a/source/blender/blenloader/intern/versioning_userdef.c
+++ b/source/blender/blenloader/intern/versioning_userdef.c
@@ -493,9 +493,6 @@ void BLO_version_defaults_userpref_blend(Main *bmain, UserDef *userdef)
if (userdef->image_draw_method == 0)
userdef->image_draw_method = IMAGE_DRAW_METHOD_2DTEXTURE;
- // we default to the first audio device
- userdef->audiodevice = 0;
-
for (bTheme *btheme = userdef->themes.first; btheme; btheme = btheme->next) {
do_versions_theme(userdef, btheme);
}