diff options
author | Julian Eisel <julian@blender.org> | 2021-02-08 05:19:13 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-02-08 12:32:18 +0300 |
commit | 9d6059504c62f72d3b5f4f10676db27663d6a559 (patch) | |
tree | cfb640779e019c137957167b08d6f34c20d93cec | |
parent | fd05e31d3f1e80544c33aa7217823ac9956c61f3 (diff) |
Cleanup: Remove unused tree element types
These weren't used since ages. Comment out the DNA define (value shouldn't be
reused to avoid compatibility breakage) and remove icon code for the types.
-rw-r--r-- | source/blender/editors/space_outliner/outliner_draw.c | 6 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_outliner_types.h | 4 |
2 files changed, 2 insertions, 8 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 35756ea5ac7..76c710b3db1 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -2287,12 +2287,6 @@ TreeElementIcon tree_element_get_icon(TreeStoreElem *tselem, TreeElement *te) case TSE_R_LAYER: data.icon = ICON_RENDER_RESULT; break; - case TSE_LINKED_LAMP: - data.icon = ICON_LIGHT_DATA; - break; - case TSE_LINKED_MAT: - data.icon = ICON_MATERIAL_DATA; - break; case TSE_POSEGRP_BASE: case TSE_POSEGRP: data.icon = ICON_GROUP_BONE; diff --git a/source/blender/makesdna/DNA_outliner_types.h b/source/blender/makesdna/DNA_outliner_types.h index cec133abd9f..16129768b60 100644 --- a/source/blender/makesdna/DNA_outliner_types.h +++ b/source/blender/makesdna/DNA_outliner_types.h @@ -95,9 +95,9 @@ typedef enum eTreeStoreElemType { TSE_R_LAYER_BASE = 19, TSE_R_LAYER = 20, /* TSE_R_PASS = 21, */ /* UNUSED */ - TSE_LINKED_MAT = 22, + /* TSE_LINKED_MAT = 22, */ /* NOTE, is used for light group */ - TSE_LINKED_LAMP = 23, + /* TSE_LINKED_LAMP = 23, */ TSE_POSEGRP_BASE = 24, TSE_POSEGRP = 25, TSE_SEQUENCE = 26, /* NO ID */ |