diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-19 14:24:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-19 14:24:42 +0300 |
commit | ed578c27c821a146ca684137d5eb1ac986858599 (patch) | |
tree | f37c1fa2db3dc71ef611ccc8f231867430112be7 /source/blender/editors/space_logic/space_logic.c | |
parent | 59bcf6cf4f3655a997d923d969d72b3b5a5d5841 (diff) |
patch [#20690] Cut Linking for Logic Bricks
from Dalai Felinto (dfelinto)
cutting kinks now works the same as in the node editor.
Diffstat (limited to 'source/blender/editors/space_logic/space_logic.c')
-rw-r--r-- | source/blender/editors/space_logic/space_logic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_logic/space_logic.c b/source/blender/editors/space_logic/space_logic.c index 06e92ee5fce..a0ef6c395d4 100644 --- a/source/blender/editors/space_logic/space_logic.c +++ b/source/blender/editors/space_logic/space_logic.c @@ -183,7 +183,7 @@ static SpaceLink *logic_duplicate(SpaceLink *sl) void logic_operatortypes(void) { WM_operatortype_append(LOGIC_OT_properties); - + WM_operatortype_append(LOGIC_OT_links_cut); } void logic_keymap(struct wmKeyConfig *keyconf) @@ -191,6 +191,7 @@ void logic_keymap(struct wmKeyConfig *keyconf) wmKeyMap *keymap= WM_keymap_find(keyconf, "Logic Editor", SPACE_LOGIC, 0); WM_keymap_add_item(keymap, "LOGIC_OT_properties", NKEY, KM_PRESS, 0, 0); + WM_keymap_add_item(keymap, "LOGIC_OT_links_cut", LEFTMOUSE, KM_PRESS, KM_CTRL, 0); } static void logic_refresh(const bContext *C, ScrArea *sa) |