Fix T60984: Can't perform viewport navigation with left mouse button and active manip...
authorWilliam Reynish <billrey@me.com>
Tue, 14 May 2019 15:24:16 +0000 (17:24 +0200)
committerWilliam Reynish <billrey@me.com>
Tue, 14 May 2019 15:24:16 +0000 (17:24 +0200)
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.

release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py

index 7c16c3d..d27d3cd 100644 (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),