diff options
author | Sergej Reich <sergej.reich@googlemail.com> | 2014-01-15 03:57:01 +0400 |
---|---|---|
committer | Sergej Reich <sergej.reich@googlemail.com> | 2014-01-15 04:07:50 +0400 |
commit | eda49cf58eed6785a8bd9e7bdebe07b8953b0275 (patch) | |
tree | d7f073ae4d6395ff210c15a6ac27369de4f359e6 /source | |
parent | fab5438943a2326d6af391b8fe0e3a3078cc7b85 (diff) |
Rigidbody: Remove keyboard shortcuts to add/remove bodies
We had several reports where users would create rigid bodies by accident
and then wonder why transformations behave differently.
Since these actions aren't used that often, just remove the shortcuts.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/object/object_ops.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/editors/object/object_ops.c b/source/blender/editors/object/object_ops.c index a06a6d9781f..2dbadd039f4 100644 --- a/source/blender/editors/object/object_ops.c +++ b/source/blender/editors/object/object_ops.c @@ -414,12 +414,6 @@ void ED_keymap_object(wmKeyConfig *keyconf) WM_keymap_verify_item(keymap, "GROUP_OT_objects_add_active", GKEY, KM_PRESS, KM_SHIFT | KM_CTRL, 0); WM_keymap_verify_item(keymap, "GROUP_OT_objects_remove_active", GKEY, KM_PRESS, KM_SHIFT | KM_ALT, 0); - kmi = WM_keymap_add_item(keymap, "RIGIDBODY_OT_objects_add", RKEY, KM_PRESS, KM_CTRL, 0); - RNA_enum_set(kmi->ptr, "type", 0); /* active */ - kmi = WM_keymap_add_item(keymap, "RIGIDBODY_OT_objects_add", RKEY, KM_PRESS, KM_CTRL | KM_SHIFT, 0); - RNA_enum_set(kmi->ptr, "type", 1); /* passive */ - WM_keymap_add_item(keymap, "RIGIDBODY_OT_objects_remove", RKEY, KM_PRESS, KM_CTRL | KM_ALT, 0); - WM_keymap_add_menu(keymap, "VIEW3D_MT_object_specials", WKEY, KM_PRESS, 0, 0); for (i = 0; i <= 5; i++) { |