Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <mail@jlucke.com>2018-10-22 14:53:36 +0300
committerJacques Lucke <mail@jlucke.com>2018-10-22 14:53:36 +0300
commit0f54c3a9b75be8f8db9022fb0aeb0f8d0d4f0299 (patch)
tree0e36509bcdd0a33063af244b410db62c18710a1a /source/blender/editors/space_outliner/outliner_ops.c
parent2d084d4ec430ec8b280a52286eeeca770f2221bc (diff)
Outliner: drag&drop - separate moving from parenting
Use drag&drop to parent objects in the outliner by holding down shift. Previously it was easy to accidently parent objects and there was no way to notice it immediatly. In some views it is possible to parent objects without using shift; should be obvious from context. Reviewers: brecht Differential Revision: https://developer.blender.org/D3812
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_ops.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_ops.c b/source/blender/editors/space_outliner/outliner_ops.c
index 2794c79eeb2..089b153fa26 100644
--- a/source/blender/editors/space_outliner/outliner_ops.c
+++ b/source/blender/editors/space_outliner/outliner_ops.c
@@ -156,6 +156,7 @@ void outliner_keymap(wmKeyConfig *keyconf)
WM_keymap_add_item(keymap, "OUTLINER_OT_operation", RIGHTMOUSE, KM_PRESS, 0, 0);
WM_keymap_add_item(keymap, "OUTLINER_OT_item_drag_drop", EVT_TWEAK_L, KM_ANY, 0, 0);
+ WM_keymap_add_item(keymap, "OUTLINER_OT_item_drag_drop", EVT_TWEAK_L, KM_ANY, KM_SHIFT, 0);
WM_keymap_add_item(keymap, "OUTLINER_OT_show_hierarchy", HOMEKEY, KM_PRESS, 0, 0);