USD Exporter: removed exclusion of 'Holdout' collections

This is in response to @brecht's remark in rBec62413f803e, where he
states that the approach was problematically interpreting the holdout
setting in a different way than what it was designed to do.

If we later want to add back a different "never include this in exports"
criterion, it can be easily done in
`AbstractHierarchyIterator::mark_as_weak_export()`. If such a criterion
should be file-format-specific, it can be done by overriding that
function in the file-format-specific subclass.
This commit is contained in:
Sybren A. Stüvel
2020-01-09 10:51:49 +01:00
parent 744a58918a
commit d98b38f97a

View File

@@ -174,11 +174,6 @@ void AbstractHierarchyIterator::export_graph_construct()
object,
DEG_ITER_OBJECT_FLAG_LINKED_DIRECTLY |
DEG_ITER_OBJECT_FLAG_LINKED_VIA_SET) {
if (object->base_flag & BASE_HOLDOUT) {
visit_object(object, object->parent, true);
continue;
}
// Non-instanced objects always have their object-parent as export-parent.
const bool weak_export = mark_as_weak_export(object);
visit_object(object, object->parent, weak_export);