Fix T92721: "Alt Cursor Access" option fails to drag the cursor

This commit is contained in:
Campbell Barton 2021-11-02 15:33:42 +11:00
parent a0edddaa0c
commit 4511964594
Notes: blender-bot 2023-02-14 07:30:31 +01:00
Referenced by issue #92721, Alt Cursor Access option broken
1 changed files with 2 additions and 1 deletions

View File

@ -141,10 +141,11 @@ class Params:
# Use the "cursor" functionality for RMB select.
if use_alt_tool_or_cursor:
self.cursor_set_event = {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True}
self.cursor_tweak_event = {"type": 'EVT_TWEAK_L', "value": 'ANY', "alt": True}
else:
self.cursor_set_event = {"type": 'LEFTMOUSE', "value": 'CLICK'}
self.cursor_tweak_event = None
self.cursor_tweak_event = None
self.use_fallback_tool = use_fallback_tool
self.tool_modifier = {}
else: