Outliner: omit active-unselected in "Selected" view
This isn't selected, so misleading to include in selection list.
This commit is contained in:
@@ -1717,7 +1717,7 @@ void outliner_build_tree(Main *mainvar, Scene *scene, SpaceOops *soops)
|
|||||||
else if (soops->outlinevis == SO_SELECTED) {
|
else if (soops->outlinevis == SO_SELECTED) {
|
||||||
for (base = scene->base.first; base; base = base->next) {
|
for (base = scene->base.first; base; base = base->next) {
|
||||||
if (base->lay & scene->lay) {
|
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 = outliner_add_element(soops, &soops->tree, base->object, NULL, 0, 0);
|
||||||
ten->directdata = base;
|
ten->directdata = base;
|
||||||
}
|
}
|
||||||
|
@@ -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_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_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_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_ACTIVE, "ACTIVE", 0, "Active", "Display data-blocks of active object"},
|
||||||
{SO_SAME_TYPE, "SAME_TYPES", 0, "Same Types",
|
{SO_SAME_TYPE, "SAME_TYPES", 0, "Same Types",
|
||||||
"Display data-blocks of all objects of same type as selected object"},
|
"Display data-blocks of all objects of same type as selected object"},
|
||||||
|
Reference in New Issue
Block a user