From 2e635b650089289ef53b830b2007d34262cb959c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 17 May 2018 13:40:59 +0200 Subject: Outliner: add ID type filter option for Blender File and Orphaned Data. --- source/blender/makesdna/DNA_space_types.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_space_types.h') diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index ac6a364b508..1f2664d04eb 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -260,7 +260,8 @@ typedef struct SpaceOops { short flag, outlinevis, storeflag, search_flags; int filter; char filter_state; - char pad[3]; + char pad; + short filter_id_type; /* pointers to treestore elements, grouped by (id, type, nr) in hashtable for faster searching */ void *treehash; @@ -297,6 +298,8 @@ typedef enum eSpaceOutliner_Filter { SO_FILTER_OB_STATE_SELECTED = (1 << 14), /* Not set via DNA. */ SO_FILTER_OB_STATE_ACTIVE = (1 << 15), /* Not set via DNA. */ SO_FILTER_NO_COLLECTION = (1 << 16), + + SO_FILTER_ID_TYPE = (1 << 17), } eSpaceOutliner_Filter; #define SO_FILTER_OB_TYPE (SO_FILTER_NO_OB_MESH | \ -- cgit v1.2.3