diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-09 14:40:34 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-09 16:17:17 +0300 |
commit | 03fc491048f9efef67033a91d5a37ee0d9d7ec79 (patch) | |
tree | 6f628507b9f6bdfcda157fd6c414c8bcdb7762bc /source/blender/editors/space_outliner/outliner_collections.c | |
parent | d3b80c4734d1cc5ece8d3eca5f95068eaec85e81 (diff) |
Outliner: move filter options to popover.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_collections.c')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_collections.c | 5 |
1 files changed, 1 insertions, 4 deletions
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; } |