diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2017-03-11 01:11:58 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2017-03-11 01:18:19 +0300 |
commit | 176698b2eb7fed2006e02a9b1d8a60a181d94b0b (patch) | |
tree | 9c5fa0a226ad5a013463048aa10d3454270ad1da /source/blender/makesdna/DNA_outliner_types.h | |
parent | 736a32e7bf20c8d88116c95674a93447424c60e5 (diff) |
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 :)
Diffstat (limited to 'source/blender/makesdna/DNA_outliner_types.h')
0 files changed, 0 insertions, 0 deletions