http://www.miikahweb.com/feed.php MiikaHweb - Blender Commits By Nicholas_rishel http://www.miikahweb.com/ MiikaHweb - Blender Commits By Nicholas_rishel fi Thu, 06 May 21 13:12:53 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[577577b] T85799: Logging test.]]> http://www.miikahweb.com/en/blender/git-logs/commit/577577bd6d3a6c49bfff0f4eae2df924e6b0ebbb 577577b
Branches : T85799
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Logging test.

----------------------------------------
1 Path Changed]]>
Tue, 02 Mar 2021 20:38:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/577577bd6d3a6c49bfff0f4eae2df924e6b0ebbbNicholas Rishel
<![CDATA[[b67b1d5] master: Merge branch 'blender-v2.92-release']]> http://www.miikahweb.com/en/blender/git-logs/commit/b67b1d59c31ff65be11035ff2d4d31d6f6dc32f0 b67b1d5
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Merge branch 'blender-v2.92-release'

----------------------------------------
0 Paths Changed]]>
Tue, 23 Feb 2021 21:59:24 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b67b1d59c31ff65be11035ff2d4d31d6f6dc32f0Nicholas Rishel
<![CDATA[[eb55405] master: Revert Automatic Tablet API dynamic fallback.]]> http://www.miikahweb.com/en/blender/git-logs/commit/eb554051e7a3a9b9bfd611c07a4d01ef26048d44 eb55405
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Revert Automatic Tablet API dynamic fallback.

Removes fallback to Windows Ink when Wintab reports no devices present.
Returns to old behavior of using only Wintab if Wintab.dll exists.

----------------------------------------
3 Paths Changed]]>
Tue, 23 Feb 2021 21:29:59 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/eb554051e7a3a9b9bfd611c07a4d01ef26048d44Nicholas Rishel
<![CDATA[[ee4f306] master: Fix T85844: high pressure at start of line.]]> http://www.miikahweb.com/en/blender/git-logs/commit/ee4f306509679cf4aacb5367680f13044db60ea8 ee4f306
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Fix T85844: high pressure at start of line.

m_tabletInRange is no longer set for Wintab after 2e81f2c01abd21fdbc
reverted Wintab changes. This reverts most button processing to
behavior present in 2.91.2.

Left in place is a bugfix for Windows Ink: button events while a
Windows Ink pen is in range should still be processed. Events processed
by Windows Ink and not passed to DefWindowProc do not create WM_*BUTTON
events, but button events from e.g. tablet pad express keys do create
WM_*BUTTON events and should be handled.

----------------------------------------
1 Path Changed]]>
Tue, 23 Feb 2021 21:29:59 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ee4f306509679cf4aacb5367680f13044db60ea8Nicholas Rishel
<![CDATA[[f227a69] master: Revert high fequency mouse input for Windows.]]> http://www.miikahweb.com/en/blender/git-logs/commit/f227a69a87307491e2375f5778d3da6f5653f47d f227a69
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Revert high fequency mouse input for Windows.

Windows mouse history function GetMouesMovePointsEx has well documented
bugs where it receives and returns 32 bit screen coordinates, but
internally truncates to unsigned 16 bits. For mouse (relative position)
input this is not a problem as motion events and the resulting screen
coordinates reliably fit within 16 bit precision.

For tablets (absolute position) the 16 bit truncation results in
corrupt history when tablet drivers use mouse_event or SendInput from
the Windows API to move the mouse cursor. Both of these functions take
absolute mouse position as singed 32 bit value on the range of 0-65535
(or 0x0-0xFFFF) inclusive. Values larger than 0x7FFF (the largest
signed 16 bit value) are reliably corrupt when retrieved from
GetMouesMovePointsEx history. This is true regardless of whether mouse
history is retrieved using display resolution (GMMP_USE_DISPLAY_POINTS)
or high resolution points (GMMP_USE_HIGH_RESOLUTION_POINTS), the latter
of which should return points in range 0-65535.

Reviewed By: brecht

Maniphest Tasks: T85874

Differential Revision: https://developer.blender.org/D10507

----------------------------------------
2 Paths Changed]]>
Tue, 23 Feb 2021 21:29:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f227a69a87307491e2375f5778d3da6f5653f47dNicholas Rishel
<![CDATA[[8d02fdc] master: WM_MOUSEMOVE cleanup.]]> http://www.miikahweb.com/en/blender/git-logs/commit/8d02fdc7e02241ba2c47a8575651fab86c3e0a41 8d02fdc
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
WM_MOUSEMOVE cleanup.

----------------------------------------
2 Paths Changed]]>
Tue, 23 Feb 2021 19:47:53 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8d02fdc7e02241ba2c47a8575651fab86c3e0a41Nicholas Rishel
<![CDATA[[6844b76] master: Revert Automatic Tablet API dynamic fallback.]]> http://www.miikahweb.com/en/blender/git-logs/commit/6844b768f3693332bea1bef0fcb76f4168ce08fe 6844b76
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Revert Automatic Tablet API dynamic fallback.

Removes fallback to Windows Ink when Wintab reports no devices present.
Returns to old behavior of using only Wintab if Wintab.dll exists.

----------------------------------------
3 Paths Changed]]>
Tue, 23 Feb 2021 19:27:40 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6844b768f3693332bea1bef0fcb76f4168ce08feNicholas Rishel
<![CDATA[[37afeb7] master: Fix T85844: high pressure at start of line.]]> http://www.miikahweb.com/en/blender/git-logs/commit/37afeb7eaa8c2965fa4348b66b6ef600b7a3769a 37afeb7
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Fix T85844: high pressure at start of line.

m_tabletInRange is no longer set for Wintab after 2e81f2c01abd21fdbc
reverted Wintab changes. This reverts most button processing to
behavior present in 2.91.2.

Left in place is a bugfix for Windows Ink: button events while a
Windows Ink pen is in range should still be processed. Events processed
by Windows Ink and not passed to DefWindowProc do not create WM_*BUTTON
events, but button events from e.g. tablet pad express keys do create
WM_*BUTTON events and should be handled.

----------------------------------------
1 Path Changed]]>
Tue, 23 Feb 2021 19:27:40 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/37afeb7eaa8c2965fa4348b66b6ef600b7a3769aNicholas Rishel
<![CDATA[[cd9dbe3] master: Revert high fequency mouse input for Windows.]]> http://www.miikahweb.com/en/blender/git-logs/commit/cd9dbe317d59456fa10495d2cfc4db70e5cfc162 cd9dbe3
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Revert high fequency mouse input for Windows.

Windows mouse history function GetMouesMovePointsEx has well documented
bugs where it receives and returns 32 bit screen coordinates, but
internally truncates to unsigned 16 bits. For mouse (relative position)
input this is not a problem as motion events and the resulting screen
coordinates reliably fit within 16 bit precision.

For tablets (absolute position) the 16 bit truncation results in
corrupt history when tablet drivers use mouse_event or SendInput from
the Windows API to move the mouse cursor. Both of these functions take
absolute mouse position as singed 32 bit value on the range of 0-65535
(or 0x0-0xFFFF) inclusive. Values larger than 0x7FFF (the largest
signed 16 bit value) are reliably corrupt when retrieved from
GetMouesMovePointsEx history. This is true regardless of whether mouse
history is retrieved using display resolution (GMMP_USE_DISPLAY_POINTS)
or high resolution points (GMMP_USE_HIGH_RESOLUTION_POINTS), the latter
of which should return points in range 0-65535.

Reviewed By: brecht

Maniphest Tasks: T85874

Differential Revision: https://developer.blender.org/D10507

----------------------------------------
2 Paths Changed]]>
Tue, 23 Feb 2021 19:25:27 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/cd9dbe317d59456fa10495d2cfc4db70e5cfc162Nicholas Rishel
<![CDATA[[5c523c6] master: Merge branch 'blender-v2.92-release']]> http://www.miikahweb.com/en/blender/git-logs/commit/5c523c6578500fa8a8da676627d4e453db142cd3 5c523c6
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Merge branch 'blender-v2.92-release'

----------------------------------------
0 Paths Changed]]>
Wed, 17 Feb 2021 02:10:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5c523c6578500fa8a8da676627d4e453db142cd3Nicholas Rishel
<![CDATA[[ab21009] master: Fix T84701: Popup closes on release while dragging parameter...]]> http://www.miikahweb.com/en/blender/git-logs/commit/ab210098424bf53b1fdac3de2d016d3e4aa04bfe ab21009
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Fix T84701: Popup closes on release while dragging parameter.

Windows Ghost cursor movement was previously changed to use SendInput
because SetCursorPos sporadically allows the cursor to escape the
window. This is now reverted because SendInput causes mouse history via
GetMouseMovePointsEx to contain invalid movement history, likely due to
interaction with mouse acceleration. This resulted in popups closing
when the cursor appeared to leave their range.

----------------------------------------
1 Path Changed]]>
Wed, 17 Feb 2021 01:45:57 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ab210098424bf53b1fdac3de2d016d3e4aa04bfeNicholas Rishel
<![CDATA[[dd79a71] master: Merge branch 'blender-v2.92-release']]> http://www.miikahweb.com/en/blender/git-logs/commit/dd79a715c98147dd1603b867502d3d8a0c8ca777 dd79a71
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Merge branch 'blender-v2.92-release'

# Conflicts:
# intern/ghost/intern/GHOST_SystemWin32.cpp
# intern/ghost/intern/GHOST_WindowWin32.cpp
# intern/ghost/intern/GHOST_WindowWin32.h

----------------------------------------
0 Paths Changed]]>
Tue, 16 Feb 2021 07:27:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/dd79a715c98147dd1603b867502d3d8a0c8ca777Nicholas Rishel
<![CDATA[[2e81f2c] master: Revert Wintab High Frequency Input.]]> http://www.miikahweb.com/en/blender/git-logs/commit/2e81f2c01abd21fdbc79625f3f7a0778103fa199 2e81f2c
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Revert Wintab High Frequency Input.

This revert removes handling of cursor move and button press events
during Wintab's WT_PACKET event, instead storing pressure and tilt
information to be combined with Window's WM_MOUSEMOVE events.

This also reverts dynamic enabling and disabling of Wintab, dependent
on the chosen Tablet API. If the Tablet API is not explictly Windows
Ink during startup, Wintab is loaded and enabled.

Left in place is a fallback to Windows Ink when the Tablet API is set
to Automatic and no Wintab devices are present. This allows devices
with Wintab installed but not active to fallback to Windows Ink.

Using position provided by Wintab was found to have too many
regressions to include in Blender 2.93. The primary source of
regressions was tablets which mapped coordinates incorrectly on multi-
monitor and scaled displays. This resulted in an offset between what
the driver controlled Win32 cursor position and the Wintab reported
position. A special case of this included tablets set to mouse mode,
where Wintab reported absolute position while the system cursor moved
as a relative mouse with mouse acceleration.

----------------------------------------
6 Paths Changed]]>
Tue, 16 Feb 2021 07:06:00 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/2e81f2c01abd21fdbc79625f3f7a0778103fa199Nicholas Rishel
<![CDATA[[a843633] master: Merge branch 'blender-v2.92-release']]> http://www.miikahweb.com/en/blender/git-logs/commit/a8436334bd9c9c4966e521ccf47368a9d5c2eb51 a843633
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Merge branch 'blender-v2.92-release'

----------------------------------------
0 Paths Changed]]>
Fri, 15 Jan 2021 20:23:13 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a8436334bd9c9c4966e521ccf47368a9d5c2eb51Nicholas Rishel
<![CDATA[[957de39] master: Fix T84645 cursor moves when clicking selector.]]> http://www.miikahweb.com/en/blender/git-logs/commit/957de39191709da822631dbe0d19829ff995b8c2 957de39
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Fix T84645 cursor moves when clicking selector.

The absolute position desktop mapping has been corrected. The correct
mapping is 0-65535 inclusive. Additionally, division by the virtual
desktop width and height needed to be subtracted by 1 as width and
height are one more than the final pixel index.

----------------------------------------
1 Path Changed]]>
Fri, 15 Jan 2021 20:18:13 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/957de39191709da822631dbe0d19829ff995b8c2Nicholas Rishel
<![CDATA[[b6aa8da] master: Fix T84645 cursor moves when clicking selector.]]> http://www.miikahweb.com/en/blender/git-logs/commit/b6aa8daf4983ffadf8401d3e931890a20e1d362e b6aa8da
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Fix T84645 cursor moves when clicking selector.

The absolute position desktop mapping has been corrected. The correct
mapping is 0-65535 inclusive. Additionally, division by the virtual
desktop width and height needed to be subtracted by 1 as width and
height are one more than the final pixel index.

----------------------------------------
1 Path Changed]]>
Wed, 13 Jan 2021 22:07:49 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b6aa8daf4983ffadf8401d3e931890a20e1d362eNicholas Rishel
<![CDATA[[d5c5991] master: Fix T81211 Add high frequency mouse input for Windows.]]> http://www.miikahweb.com/en/blender/git-logs/commit/d5c59913de95b6b6952088f175a8393bef376d27 d5c5991
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Fix T81211 Add high frequency mouse input for Windows.

Also send mouse move event instead of moving cursor via SetCursorPos.
SetCursorPos did not reliably move the mouse when it is leaving the
window quickly.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D9981

----------------------------------------
2 Paths Changed]]>
Mon, 11 Jan 2021 19:40:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d5c59913de95b6b6952088f175a8393bef376d27Nicholas Rishel
<![CDATA[[ab5986c] master: Fix T84501: Wintab button lag.]]> http://www.miikahweb.com/en/blender/git-logs/commit/ab5986cf3a2eea3a8ba3f7029f936f79ade921ef ab5986c
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Fix T84501: Wintab button lag.

Multiple Wintab tablets do not send relative button state when
configured to do so. This causes button events to be delayed until
processed as Win32 button events.

This commit fixes the issue by configuring Wintab to use absolute
button state and tracking changes manually.

----------------------------------------
3 Paths Changed]]>
Mon, 11 Jan 2021 05:18:46 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ab5986cf3a2eea3a8ba3f7029f936f79ade921efNicholas Rishel
<![CDATA[[81c57c9] master: Fix T84144 cursor wrap broken for Windows.]]> http://www.miikahweb.com/en/blender/git-logs/commit/81c57c9471db3785f0f6c8291ae15f1999046eaa 81c57c9
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Fix T84144 cursor wrap broken for Windows.

Modifies WM_BUTTON processing to reuse existing mousemove logic. Fixes
case where cursor wrap was not being handled on mouse release.

Bonus: flattened mouse move logic so all paths lead to a single return.
Removed case where wrap is not handled until subsequent mousemove as
button press may rely on updated mouse move position.

----------------------------------------
1 Path Changed]]>
Mon, 28 Dec 2020 21:34:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/81c57c9471db3785f0f6c8291ae15f1999046eaaNicholas Rishel
<![CDATA[[565ea3d] master: Simplification of Wintab event handling.]]> http://www.miikahweb.com/en/blender/git-logs/commit/565ea3df6077a1af5995b9b4defec9b03f3c6c29 565ea3d
Branches : master
Author : Nicholas Rishel (nicholas_rishel)
----------------------------------------
Simplification of Wintab event handling.

Previously Wintab packets were added to a local queue to be processed
during Win32 mouse events, in order to correlate Wintab to Win32
mouse buttons. Wintab packets before Win32 mouse down events were
expired on a timer.

This commit drives mouse events during Wintab events when a device is
in range. When a Wintab button is found it is dispatched if an
equivalent event can be popped from the Win32 event queue. If a Win32
mouse button event is not associated with a Wintab event, it falls
through to WM_BUTTON handling. All Wintab packets are handled as they
are received.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D9908

----------------------------------------
4 Paths Changed]]>
Fri, 25 Dec 2020 00:41:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/565ea3df6077a1af5995b9b4defec9b03f3c6c29Nicholas Rishel