[Bf-blender-cvs] [8ee04d1ba01] temp-sybren-usd-patch-01: USD: clearer explanation of when to override `get_object_data_path()`
Sybren A. Stüvel
noreply at git.blender.org
Tue Nov 26 18:22:17 CET 2019
Commit: 8ee04d1ba019322aa87a00c395e52b4ca9d77dad
Author: Sybren A. Stüvel
Date: Tue Nov 26 12:43:56 2019 +0100
Branches: temp-sybren-usd-patch-01
https://developer.blender.org/rB8ee04d1ba019322aa87a00c395e52b4ca9d77dad
USD: clearer explanation of when to override `get_object_data_path()`
===================================================================
M source/blender/usd/intern/abstract_hierarchy_iterator.h
===================================================================
diff --git a/source/blender/usd/intern/abstract_hierarchy_iterator.h b/source/blender/usd/intern/abstract_hierarchy_iterator.h
index b1ef6928cd0..5215aa49f46 100644
--- a/source/blender/usd/intern/abstract_hierarchy_iterator.h
+++ b/source/blender/usd/intern/abstract_hierarchy_iterator.h
@@ -161,8 +161,8 @@ class AbstractHierarchyIterator {
virtual std::string get_id_name(const ID *id) const;
/* Given a HierarchyContext of some Object *, return an export path that is valid for its
- * object->data. Overriding is probably not necessary if the subclass implements the proper
- * path_concatenate(). */
+ * object->data. Overriding is necessary when the exported format does NOT expect the object's
+ * data to be a child of the object. */
virtual std::string get_object_data_path(const HierarchyContext *context) const;
private:
More information about the Bf-blender-cvs
mailing list