Fix T60984: Can't perform viewport navigation with left mouse button and active manipulator

This was fixed for active tool gizmos but not viewport gizmos.

Note that this applies only to the Industry Compatible keymap, which is where this issue manifested itself.
This commit is contained in:
William Reynish
2019-05-14 17:24:16 +02:00
parent e9b282617a
commit 0d2e708ea4

View File

@@ -3554,6 +3554,16 @@ def km_transform_gizmo(_params):
return keymap
def km_transform_gizmo_context(_params):
keymap = (
"Transform Gizmo Context",
{"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
{"items": _template_items_gizmo_tweak_value()},
)
return keymap
# ------------------------------------------------------------------------------
# Tool System Keymaps
@@ -3744,6 +3754,7 @@ def generate_keymaps(params=None):
# Gizmos.
km_gizmos(params),
km_transform_gizmo(params),
km_transform_gizmo_context(params),
# Tool System.
km_3d_view_tool_move(params),