Fix T96515: Can not translate after selecting with Select Circle
Correct ANY/PRESS value pairing with TWEAK/MOUSE event types.
This commit is contained in:
parent
52bc420658
commit
9747a322b8
Notes:
blender-bot
2023-04-04 07:45:26 +02:00
Referenced by issue #96515, Regression: Can not translate after selecting with Select Circle Referenced by issue #96241, 3.1: Potential candidates for corrective releases
|
@ -6457,7 +6457,7 @@ def km_node_editor_tool_select_circle(params, *, fallback):
|
|||
# Why circle select should be used on tweak?
|
||||
# So that RMB or Shift-RMB is still able to set an element as active.
|
||||
type=params.select_tweak if (fallback and params.use_fallback_tool_select_mouse) else params.tool_mouse,
|
||||
value='ANY' if fallback else 'PRESS',
|
||||
value='ANY' if (fallback and params.use_fallback_tool_select_mouse) else 'PRESS',
|
||||
properties=[("wait_for_input", False)])),
|
||||
]},
|
||||
)
|
||||
|
@ -6526,7 +6526,7 @@ def km_3d_view_tool_select_circle(params, *, fallback):
|
|||
# Why circle select should be used on tweak?
|
||||
# So that RMB or Shift-RMB is still able to set an element as active.
|
||||
type=params.select_tweak if (fallback and params.use_fallback_tool_select_mouse) else params.tool_mouse,
|
||||
value='ANY' if fallback else 'PRESS',
|
||||
value='ANY' if (fallback and params.use_fallback_tool_select_mouse) else 'PRESS',
|
||||
properties=[("wait_for_input", False)])),
|
||||
]},
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue