-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Apparently, this was introduced in Win10
https://www.3dmm.com/showthread.php?t=52743
Bobby Swisha
Ok so when I grab/move objects in 3DMM, it occasionally "jumps" and the object is like a foot away from where I grabbed it. This is really annoying when I'm only trying to move things a millimetre.
Jayrod
There have been some grievances about the jumping mouse cursor issue but I think I finally figured out what causes it.
3dmm snaps the cursor to the center when you move it outside the window, which is a common technique for tracking the mouse cursor and prevents the cursor from hitting the bounds of the screen or whatever. However, Windows 10 is so "responsive" that when 3dmm goes to grab the next mouse position, it sometimes doesn't get the newly "snapped" position it set before, and so there are incremental issues while dragging. Like in this video:
The fix I came up with was to add some milliseconds of idle time after each call to the Windows API SetCursorPos function (in User32.dll) to give time for Windows to dispatch the events.
Download it here.
-To use it, you must have 3dmm/v3dmm already running. Then just run it and it should patch successfully. The caveat atm is you must run the utility again if you close the 3dmm window. (I don't know yet how to make the patch effective on harddisk as the offsets to the DLLs will vary each time you start up 3dmm.)
https://3dmm.com/showthread.php?p=1246421
https://www.youtube.com/watch?v=zkHAGQlpcp8
similar problems reported on the SDL mailing list
libsdl-org/SDL#2695
https://discourse.libsdl.org/t/win10-fall-creators-update-breaks-mouse-warping/23526