Merging r38562 through r38614 from trunkinto soc-2011-tomato
[blender.git] / source / blender / editors / transform / transform_ops.c
index 2d0c1ac281803a50034e8647089f78b7f5be4588..705222671f65878f1a8fd3100fa5f8ffd287c20c 100644 (file)
@@ -961,6 +961,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;
        }