Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2017-03-11 01:29:32 +0300
committerJulian Eisel <eiseljulian@gmail.com>2017-03-11 01:29:32 +0300
commitcdb7498f663e539f05bc314c4e80c55ba45cdc02 (patch)
treea1ec367ca80f0b9ee5fcd472b2c998b1cdef41f9 /source/blender/makesdna/DNA_outliner_types.h
parent176698b2eb7fed2006e02a9b1d8a60a181d94b0b (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.h3
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;