Blender Git Loki
Git Commits -> Revision 176698b
Revision 176698b by Julian Eisel (master) March 10, 2017, 22:18 (GMT) |
Fix unwanted expanding/collapsing of collections using drag & drop Turned out to be a quite easy fix. I thought the issue was that we couldn't identify the TreeStoreElem when (re)creating its TreeElement item correctly, because for non-ID elements that would be index dependent (= bad for drag & drop). Turns out that we're actually allowed to store custom data within the TreeStoreElem, the thing is just that it gets stored as ID pointer (highly ugly and highly misleading). Anyway, seems to work now so I won't complain too much :) |
Commit Details:
Full Hash: 176698b2eb7fed2006e02a9b1d8a60a181d94b0b
Parent Commit: 736a32e
Lines Changed: +31, -41
1 Modified Path:
/source/blender/editors/space_outliner/outliner_tree.c (+31, -41) (Diff)