From d7b5e2fa72c91b603713b52eec22af9ae131926d Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 10 Aug 2018 17:04:05 +0200 Subject: Outliner: use generic WM drag and drop system for collections. * Drag and drop between multiple outliners now works. * Dragging the icon and text now give the same results. * Fixes various crashes. --- source/blender/makesdna/DNA_outliner_types.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/makesdna/DNA_outliner_types.h') diff --git a/source/blender/makesdna/DNA_outliner_types.h b/source/blender/makesdna/DNA_outliner_types.h index 449f71905f0..75d0ce493f5 100644 --- a/source/blender/makesdna/DNA_outliner_types.h +++ b/source/blender/makesdna/DNA_outliner_types.h @@ -60,6 +60,10 @@ enum { TSE_CHILDSEARCH = (1 << 3), TSE_SEARCHMATCH = (1 << 4), TSE_HIGHLIGHTED = (1 << 5), + TSE_DRAG_INTO = (1 << 6), + TSE_DRAG_BEFORE = (1 << 7), + TSE_DRAG_AFTER = (1 << 8), + TSE_DRAG_ANY = (TSE_DRAG_INTO | TSE_DRAG_BEFORE | TSE_DRAG_AFTER), }; /* TreeStoreElem->types */ -- cgit v1.2.3