[Bf-blender-cvs] [095f9d59a07] temp-sybren-usd-patch: USD: clearer explanation of when to override `get_object_data_path()`
Sybren A. Stüvel
noreply at git.blender.org
Tue Nov 26 18:07:11 CET 2019
Commit: 095f9d59a0722eb4394f1eca561fb178daa80f58
Author: Sybren A. Stüvel
Date: Tue Nov 26 12:43:56 2019 +0100
Branches: temp-sybren-usd-patch
https://developer.blender.org/rB095f9d59a0722eb4394f1eca561fb178daa80f58
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