[Bf-blender-cvs] [e847ceb42e6] sybren-usd: USD: Fix missing writer pointer
Sybren A. Stüvel
noreply at git.blender.org
Fri Jul 19 11:15:20 CEST 2019
Commit: e847ceb42e69bb6fdea92fbff0343e2b5316bbc7
Author: Sybren A. Stüvel
Date: Thu Jul 18 12:45:17 2019 +0200
Branches: sybren-usd
https://developer.blender.org/rBe847ceb42e69bb6fdea92fbff0343e2b5316bbc7
USD: Fix missing writer pointer
Fixes bug introduced in previous commit.
===================================================================
M source/blender/usd/intern/abstract_hierarchy_iterator.cc
===================================================================
diff --git a/source/blender/usd/intern/abstract_hierarchy_iterator.cc b/source/blender/usd/intern/abstract_hierarchy_iterator.cc
index 2f82399a8bc..8d18d1f5b8d 100644
--- a/source/blender/usd/intern/abstract_hierarchy_iterator.cc
+++ b/source/blender/usd/intern/abstract_hierarchy_iterator.cc
@@ -429,5 +429,8 @@ AbstractHierarchyWriter *AbstractHierarchyIterator::ensure_writer(
if (writer == nullptr) {
return nullptr;
}
+
+ writers[context->export_path] = writer;
+
return writer;
}
More information about the Bf-blender-cvs
mailing list