[Bf-blender-cvs] [5caee1eb393] temp-sybren-usd-patch: USD: added comment to explain 'instance'

Sybren A. Stüvel noreply at git.blender.org
Tue Nov 26 18:06:56 CET 2019


Commit: 5caee1eb3937d0e84e58fe79ad76414afb76d583
Author: Sybren A. Stüvel
Date:   Tue Nov 26 12:18:53 2019 +0100
Branches: temp-sybren-usd-patch
https://developer.blender.org/rB5caee1eb3937d0e84e58fe79ad76414afb76d583

USD: added comment to explain 'instance'

===================================================================

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 a71201a0336..1983c773336 100644
--- a/source/blender/usd/intern/abstract_hierarchy_iterator.h
+++ b/source/blender/usd/intern/abstract_hierarchy_iterator.h
@@ -93,6 +93,7 @@ struct HierarchyContext {
   /* Return a HierarchyContext representing the root of the export hierarchy. */
   static const HierarchyContext *root();
 
+  /* For handling instanced collections, instances created by particles, etc. */
   bool is_instance() const;
   void mark_as_instance_of(const std::string &reference_export_path);
   void mark_as_not_instanced();



More information about the Bf-blender-cvs mailing list