Shaded view toggle key (Shift-Z) not needed anymore.
authorMartin Poirier <theeth@yahoo.com>
Fri, 27 Nov 2009 21:15:01 +0000 (21:15 +0000)
committerMartin Poirier <theeth@yahoo.com>
Fri, 27 Nov 2009 21:15:01 +0000 (21:15 +0000)
source/blender/editors/space_view3d/view3d_ops.c

index db5fbc7066933b667591739e47fd1c4bd4e5037d..03820cbd2d7ebb19d3ecf4f77ee17fbd804ced98 100644 (file)
@@ -223,11 +223,6 @@ void view3d_keymap(wmKeyConfig *keyconf)
        RNA_string_set(kmi->ptr, "value_1", "TEXTURED");
        RNA_string_set(kmi->ptr, "value_2", "SOLID");
 
-       kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle_enum", ZKEY, KM_PRESS, KM_SHIFT, 0);
-       RNA_string_set(kmi->ptr, "path", "space_data.viewport_shading");
-       RNA_string_set(kmi->ptr, "value_1", "SHADED");
-       RNA_string_set(kmi->ptr, "value_2", "WIREFRAME");
-
        /* selection*/
        WM_keymap_add_item(keymap, "VIEW3D_OT_select", SELECTMOUSE, KM_PRESS, 0, 0);
        RNA_boolean_set(WM_keymap_add_item(keymap, "VIEW3D_OT_select", SELECTMOUSE, KM_PRESS, KM_SHIFT, 0)->ptr, "extend", TRUE);