[Bf-blender-cvs] [cdb7498f663] blender2.8: Cleanup: Add comment about use of ID pointer in TreeStoreElem
Julian Eisel
noreply at git.blender.org
Fri Mar 10 23:30:14 CET 2017
Commit: cdb7498f663e539f05bc314c4e80c55ba45cdc02
Author: Julian Eisel
Date: Fri Mar 10 23:29:32 2017 +0100
Branches: blender2.8
https://developer.blender.org/rBcdb7498f663e539f05bc314c4e80c55ba45cdc02
Cleanup: Add comment about use of ID pointer in TreeStoreElem
===================================================================
M 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 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;
More information about the Bf-blender-cvs
mailing list