From 03fc491048f9efef67033a91d5a37ee0d9d7ec79 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 9 May 2018 13:40:34 +0200 Subject: Outliner: move filter options to popover. --- source/blender/editors/space_outliner/outliner_collections.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source/blender/editors/space_outliner/outliner_collections.c') diff --git a/source/blender/editors/space_outliner/outliner_collections.c b/source/blender/editors/space_outliner/outliner_collections.c index fd2b463f91b..1cfe5b16fe1 100644 --- a/source/blender/editors/space_outliner/outliner_collections.c +++ b/source/blender/editors/space_outliner/outliner_collections.c @@ -95,10 +95,7 @@ static int outliner_objects_collection_poll(bContext *C) } /* Groups don't support filtering. */ - if ((so->outlinevis != SO_GROUPS) && - ((so->filter & (SO_FILTER_ENABLE | SO_FILTER_NO_COLLECTION)) == - (SO_FILTER_ENABLE | SO_FILTER_NO_COLLECTION))) - { + if ((so->outlinevis != SO_GROUPS) && (so->filter & SO_FILTER_NO_COLLECTION)) { return 0; } -- cgit v1.2.3