Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_outliner/outliner_tree.c
| Context not available. | |||||
| TreeElement *te_object = outliner_add_element(soops, tree, base->object, ten, 0, 0); | TreeElement *te_object = outliner_add_element(soops, tree, base->object, ten, 0, 0); | ||||
| te_object->directdata = base; | te_object->directdata = base; | ||||
| if (!(base->flag & BASE_VISIBLE_DEPSGRAPH)) { | if (!(base->flag & BASE_VISIBLE)) { | ||||
| te_object->flag |= TE_DISABLED; | te_object->flag |= TE_DISABLED; | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||
| tselem->flag &= ~TSE_CLOSED; | tselem->flag &= ~TSE_CLOSED; | ||||
| } | } | ||||
| if (exclude || (lc->runtime_flag & LAYER_COLLECTION_VISIBLE_VIEW_LAYER) == 0) { | if (exclude || (lc->runtime_flag & LAYER_COLLECTION_VISIBLE) == 0) { | ||||
| ten->flag |= TE_DISABLED; | ten->flag |= TE_DISABLED; | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||
| } | } | ||||
| if (exclude_filter & SO_FILTER_OB_STATE_VISIBLE) { | if (exclude_filter & SO_FILTER_OB_STATE_VISIBLE) { | ||||
| if ((base->flag & BASE_VISIBLE_DEPSGRAPH) == 0) { | if ((base->flag & BASE_VISIBLE) == 0) { | ||||
| return false; | return false; | ||||
| } | } | ||||
| } | } | ||||
| else if (exclude_filter & SO_FILTER_OB_STATE_HIDDEN) { | else if (exclude_filter & SO_FILTER_OB_STATE_HIDDEN) { | ||||
| if ((base->flag & BASE_VISIBLE_DEPSGRAPH) != 0) { | if ((base->flag & BASE_VISIBLE) != 0) { | ||||
| return false; | return false; | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||