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:
Diffstat (limited to 'source/blender/usd')
-rw-r--r--source/blender/usd/intern/usd_hierarchy_iterator.cc3
-rw-r--r--source/blender/usd/usd.h1
2 files changed, 0 insertions, 4 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;
}
diff --git a/source/blender/usd/usd.h b/source/blender/usd/usd.h
index 1a6f5819e21..c8e559c59f5 100644
--- a/source/blender/usd/usd.h
+++ b/source/blender/usd/usd.h
@@ -36,7 +36,6 @@ struct USDExportParams {
bool export_normals;
bool export_materials;
bool selected_objects_only;
- bool visible_objects_only;
bool use_instancing;
enum eEvaluationMode evaluation_mode;
};