Fix T74796: Outliner child objects hidden when collections are filtered
Filtering Collections when also filtering object children would only display the parent object. Add a check for the NO_CHILDREN filter before creating the object-parent hierarchy.
This commit is contained in:
parent
e4370eccdf
commit
97be726f93
@ -2461,7 +2461,9 @@ void outliner_build_tree(
|
||||
te_object->directdata = base;
|
||||
}
|
||||
|
||||
outliner_make_object_parent_hierarchy(&soops->tree);
|
||||
if ((soops->filter & SO_FILTER_NO_CHILDREN) == 0) {
|
||||
outliner_make_object_parent_hierarchy(&soops->tree);
|
||||
}
|
||||
}
|
||||
else {
|
||||
/* Show collections in the view layer. */
|
||||
|
Loading…
Reference in New Issue
Block a user