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-05-08 16:33:00 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-05-08 16:41:50 +0300
commitac9fe9c2c17fee57a47df84d01cc9595e2985c5d (patch)
tree60319f7b9a936bebc797e8780700e3db1ff697b3 /source/blender/io
parent163f21db8c0be74f971e56f1be26b09f12172644 (diff)
Cleanup: USD, removed unnecessary variable
No functional changes.
Diffstat (limited to 'source/blender/io')
-rw-r--r--source/blender/io/usd/intern/abstract_hierarchy_iterator.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/io/usd/intern/abstract_hierarchy_iterator.cc b/source/blender/io/usd/intern/abstract_hierarchy_iterator.cc
index 7045161ff45..4911cb65e11 100644
--- a/source/blender/io/usd/intern/abstract_hierarchy_iterator.cc
+++ b/source/blender/io/usd/intern/abstract_hierarchy_iterator.cc
@@ -448,8 +448,7 @@ void AbstractHierarchyIterator::determine_export_paths(const HierarchyContext *p
duplisource_export_path_[source_ob] = context->export_path;
if (context->object->data != nullptr) {
- ID *object_data = static_cast<ID *>(context->object->data);
- ID *source_data = object_data;
+ ID *source_data = static_cast<ID *>(context->object->data);
duplisource_export_path_[source_data] = get_object_data_path(context);
}
}