Blender Git Loki
Git Commits -> Revision 88a2c57
Revision 88a2c57 by Nathan Craddock (soc-2019-outliner) July 25, 2019, 21:28 (GMT) |
Outliner: Support click+drag for toggling disclosure triangles This reworks the openclose operator for toggling disclosure triangles. Rather than mapping to `Enter` by default, it supports left click and left tweak events. This allows click+drag over elements in the tree to open or close levels. Once the click+drag is started, only elements on that level in the outliner will open or close. This removes the toggling from `outliner_select.c` which adds more clarity to the activate function. |
Commit Details:
Full Hash: 88a2c5782745f2ece9d8f2d046fb6bce83a2f7b0
Parent Commit: f38c8b8
Lines Changed: +81, -38
5 Modified Paths:
/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+3, -2) (Diff)
/source/blender/editors/space_outliner/outliner_dragdrop.c (+6, -0) (Diff)
/source/blender/editors/space_outliner/outliner_edit.c (+68, -32) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+2, -0) (Diff)
/source/blender/editors/space_outliner/outliner_select.c (+2, -4) (Diff)
/source/blender/editors/space_outliner/outliner_dragdrop.c (+6, -0) (Diff)
/source/blender/editors/space_outliner/outliner_edit.c (+68, -32) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+2, -0) (Diff)
/source/blender/editors/space_outliner/outliner_select.c (+2, -4) (Diff)