[Bf-blender-cvs] [1e29849] master: Fix for cursor not being reset on file load

Campbell Barton noreply at git.blender.org
Thu Feb 11 13:55:47 CET 2016


Commit: 1e29849da02a092fbbcabca211bab7bd30dc0bf9
Author: Campbell Barton
Date:   Thu Feb 11 23:47:17 2016 +1100
Branches: master
https://developer.blender.org/rB1e29849da02a092fbbcabca211bab7bd30dc0bf9

Fix for cursor not being reset on file load

caused by 6081f6c3

===================================================================

M	source/blender/blenloader/intern/readfile.c

===================================================================

diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 2935b11..17567ae 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -6064,7 +6064,7 @@ static void direct_link_windowmanager(FileData *fd, wmWindowManager *wm)
 		win->lastcursor   = 0;
 		win->modalcursor  = 0;
 		win->grabcursor   = 0;
-		win->addmousemove = 0;
+		win->addmousemove = true;
 		win->multisamples = 0;
 		win->stereo3d_format = newdataadr(fd, win->stereo3d_format);




More information about the Bf-blender-cvs mailing list