Merging r38951 through r38987 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / transform / transform_ops.c
index 54e0b31e201e75244b0bfa3b1a44da916095c926..a6c8d1fd82d2016b1be475f1ad278c4a2ba7ed27 100644 (file)
@@ -978,6 +978,11 @@ void transform_keymap_for_space(wmKeyConfig *keyconf, wmKeyMap *keymap, int spac
                        km = WM_keymap_add_item(keymap, "WM_OT_context_toggle", TABKEY, KM_PRESS, KM_SHIFT, 0);
                        RNA_string_set(km->ptr, "data_path", "tool_settings.use_snap");
                        break;
+               case SPACE_CLIP:
+                       WM_keymap_add_item(keymap, OP_TRANSLATION, GKEY, KM_PRESS, 0, 0);
+                       WM_keymap_add_item(keymap, OP_TRANSLATION, EVT_TWEAK_S, KM_ANY, 0, 0);
+                       WM_keymap_add_item(keymap, OP_RESIZE, SKEY, KM_PRESS, 0, 0);
+                       break;
                default:
                        break;
        }