Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2020-01-09 17:31:53 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-01-09 17:46:46 +0300
commitcf0f066c2d62234cb0ed228c25a496c2ecab142e (patch)
treeb87561541fb8232b87996e51b7d0004470758c01 /source/blender/usd/intern/usd_hierarchy_iterator.cc
parentd98b38f97aa07edfbaf81ab07523a1abef585ba1 (diff)
USD Exporter: removed 'Visible Objects Only' exporter option
The way the USD exporter currently works, it is not possible to export invisible objects. As such, the 'Visible Objects Only' option was confusing. Exporting invisible objects means obtaining invisible evaluated objects from the depsgraph, which is not something that's currently implemented. Once that's done, we can reintroduce this option.
Diffstat (limited to 'source/blender/usd/intern/usd_hierarchy_iterator.cc')
-rw-r--r--source/blender/usd/intern/usd_hierarchy_iterator.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/usd/intern/usd_hierarchy_iterator.cc b/source/blender/usd/intern/usd_hierarchy_iterator.cc
index f53cba8b2c6..d56de8cff13 100644
--- a/source/blender/usd/intern/usd_hierarchy_iterator.cc
+++ b/source/blender/usd/intern/usd_hierarchy_iterator.cc
@@ -56,9 +56,6 @@ bool USDHierarchyIterator::mark_as_weak_export(const Object *object) const
if (params_.selected_objects_only && (object->base_flag & BASE_SELECTED) == 0) {
return true;
}
- if (params_.visible_objects_only && (object->base_flag & BASE_VISIBLE_VIEWLAYER) == 0) {
- return true;
- }
return false;
}