diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2017-03-11 01:29:32 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2017-03-11 01:29:32 +0300 |
commit | cdb7498f663e539f05bc314c4e80c55ba45cdc02 (patch) | |
tree | a1ec367ca80f0b9ee5fcd472b2c998b1cdef41f9 /source/blender/makesdna/DNA_outliner_types.h | |
parent | 176698b2eb7fed2006e02a9b1d8a60a181d94b0b (diff) |
Cleanup: Add comment about use of ID pointer in TreeStoreElem
Diffstat (limited to 'source/blender/makesdna/DNA_outliner_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_outliner_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_outliner_types.h b/source/blender/makesdna/DNA_outliner_types.h index 44844653f3b..cb868ceb98e 100644 --- a/source/blender/makesdna/DNA_outliner_types.h +++ b/source/blender/makesdna/DNA_outliner_types.h @@ -38,6 +38,9 @@ struct ID; typedef struct TreeStoreElem { short type, nr, flag, used; + + /* XXX We actually also store non-ID data in this pointer for identifying + * the TreeStoreElem for a TreeElement when rebuilding the tree. Ugly! */ struct ID *id; } TreeStoreElem; |