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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-02-05 00:26:46 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-02-06 14:21:41 +0300
commit6081f6c3870718660e984da3fbfcd44c55abcc20 (patch)
treeafe56aefccd7d13a72277c816861bbd6478d931c /source/blender/blenloader
parente602fe60c042c7ff0a1ebbe2deab3b347f4ccc86 (diff)
Fix T47204: selection failing directly after disabling multisample in user prefs.
Now store the multisample setting each window was created with.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index b8470b16e14..2935b118c3a 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -6060,9 +6060,12 @@ static void direct_link_windowmanager(FileData *fd, wmWindowManager *wm)
win->drawfail = 0;
win->active = 0;
- win->cursor = 0;
- win->lastcursor = 0;
- win->modalcursor = 0;
+ win->cursor = 0;
+ win->lastcursor = 0;
+ win->modalcursor = 0;
+ win->grabcursor = 0;
+ win->addmousemove = 0;
+ win->multisamples = 0;
win->stereo3d_format = newdataadr(fd, win->stereo3d_format);
/* multiview always fallback to anaglyph at file opening