2.5
[blender.git] / source / blender / editors / space_view3d / view3d_ops.c
index bd818f6c747c9c9a5167f16fe3109d03d6592156..92564d8b20b762bbc9b28d28b4fd6ade0669ec22 100644 (file)
@@ -68,6 +68,8 @@ void view3d_operatortypes(void)
        WM_operatortype_append(ED_VIEW3D_OT_viewcenter);
        WM_operatortype_append(ED_VIEW3D_OT_select);
        WM_operatortype_append(ED_VIEW3D_OT_borderselect);
+       WM_operatortype_append(ED_VIEW3D_OT_clipping);
+       
 }
 
 void view3d_keymap(wmWindowManager *wm)
@@ -89,6 +91,7 @@ void view3d_keymap(wmWindowManager *wm)
 
        WM_keymap_add_item(keymap, "ED_VIEW3D_OT_select", SELECTMOUSE, KM_PRESS, 0, 0);
        WM_keymap_add_item(keymap, "ED_VIEW3D_OT_borderselect", BKEY, KM_PRESS, 0, 0);
+       WM_keymap_add_item(keymap, "ED_VIEW3D_OT_clipping", BKEY, KM_PRESS, KM_ALT, 0);
 
 }