diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-02-10 16:55:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-02-10 17:15:36 +0300 |
commit | f5982f2a2983783a4c26599e623143f8a30e738d (patch) | |
tree | 2e448fe97ee01f012bca0e41bc9a4b65d6021c4a | |
parent | d6eddc5f92aeb42bff9035853c25456e63013151 (diff) |
Outliner: omit active-unselected in "Selected" view
This isn't selected, so misleading to include in selection list.
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tree.c | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c index 9175a092cee..d688e628967 100644 --- a/source/blender/editors/space_outliner/outliner_tree.c +++ b/source/blender/editors/space_outliner/outliner_tree.c @@ -1717,7 +1717,7 @@ void outliner_build_tree(Main *mainvar, Scene *scene, SpaceOops *soops) else if (soops->outlinevis == SO_SELECTED) { for (base = scene->base.first; base; base = base->next) { if (base->lay & scene->lay) { - if (base == BASACT || (base->flag & SELECT)) { + if (base->flag & SELECT) { ten = outliner_add_element(soops, &soops->tree, base->object, NULL, 0, 0); ten->directdata = base; } diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 51aba737fa8..328e4cd8db9 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -2050,7 +2050,7 @@ static void rna_def_space_outliner(BlenderRNA *brna) {SO_ALL_SCENES, "ALL_SCENES", 0, "All Scenes", "Display data-blocks in all scenes"}, {SO_CUR_SCENE, "CURRENT_SCENE", 0, "Current Scene", "Display data-blocks in current scene"}, {SO_VISIBLE, "VISIBLE_LAYERS", 0, "Visible Layers", "Display data-blocks in visible layers"}, - {SO_SELECTED, "SELECTED", 0, "Selected", "Display data-blocks of selected objects"}, + {SO_SELECTED, "SELECTED", 0, "Selected", "Display data-blocks of selected, visible objects"}, {SO_ACTIVE, "ACTIVE", 0, "Active", "Display data-blocks of active object"}, {SO_SAME_TYPE, "SAME_TYPES", 0, "Same Types", "Display data-blocks of all objects of same type as selected object"}, |