Fix T57128: error in Blender 27X keymap (Z key)
authorPhilipp Oeser <info@graphics-engineer.com>
Wed, 10 Oct 2018 12:32:24 +0000 (14:32 +0200)
committerPhilipp Oeser <info@graphics-engineer.com>
Wed, 10 Oct 2018 12:32:24 +0000 (14:32 +0200)
Reviewed By: brecht

https://developer.blender.org/D3781

release/scripts/presets/keyconfig/blender_27x.py

index 6fb0df832caa285ac87b0b7e265a69a30341b730..3cb6388e43ef22010f5f030f28982d037b8f226c 100644 (file)
@@ -4619,21 +4619,30 @@ keyconfig_data = \
       },
      ),
     ("wm.context_toggle_enum",
-     {"type": 'Z', "value": 'PRESS', "alt": True},
+     {"type": 'Z', "value": 'PRESS'},
      {"properties":
       [("data_path", 'space_data.shading.type'),
-       ("value_1", 'SOLID'),
-       ("value_2", 'TEXTURED'),
+       ("value_1", 'WIREFRAME'),
+       ("value_2", 'SOLID'),
        ],
       },
      ),
-    ("view3d.toggle_render", {"type": 'Z', "value": 'PRESS', "shift": True}, None),
-    ("view3d.toggle_xray_draw_option", {"type": 'Z', "value": 'PRESS'}, None),
-    ("wm.context_toggle",
-     {"type": 'Z', "value": 'PRESS'},
+    ("wm.context_toggle_enum",
+     {"type": 'Z', "value": 'PRESS', "shift": True},
      {"properties":
-      [("data_path", 'space_data.use_occlude_geometry'),
-       ],
+      [("data_path", 'space_data.shading.type'),
+       ("value_1", 'RENDERED'),
+       ("value_2", 'SOLID'),
+      ],
+      },
+     ),
+    ("wm.context_toggle_enum",
+     {"type": 'Z', "value": 'PRESS', "alt": True},
+     {"properties":
+      [("data_path", 'space_data.shading.type'),
+       ("value_1", 'MATERIAL'),
+       ("value_2", 'SOLID'),
+      ],
       },
      ),
     ("view3d.select",