[Bf-blender-cvs] [cba4255b01] temp-sybren-alembic: FIXUP added some comments to visit_object

Sybren A. Stüvel noreply at git.blender.org
Thu Mar 2 10:14:22 CET 2017


Commit: cba4255b0151f9e3abcdc254c05bc3fc2138dad1
Author: Sybren A. Stüvel
Date:   Thu Mar 2 10:13:55 2017 +0100
Branches: temp-sybren-alembic
https://developer.blender.org/rBcba4255b0151f9e3abcdc254c05bc3fc2138dad1

FIXUP added some comments to visit_object

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

M	source/blender/alembic/intern/alembic_capi.cc

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

diff --git a/source/blender/alembic/intern/alembic_capi.cc b/source/blender/alembic/intern/alembic_capi.cc
index 00e0d6deaa..2a60e47861 100644
--- a/source/blender/alembic/intern/alembic_capi.cc
+++ b/source/blender/alembic/intern/alembic_capi.cc
@@ -376,6 +376,20 @@ void ABC_export(
 
 /* ********************** Import file ********************** */
 
+/**
+ * Generates an AbcObjectReader for this Alembic object and its children.
+ *
+ * \param object The Alembic IObject to visit.
+ * \param readers The created AbcObjectReader * will be appended to this vector.
+ * \param readers_map The created AbcObjectReader * will be appended to this
+ *                    map, keyed by its full name in Alembic.
+ * \param settings Import settings, not used directly but passed to the
+ *                 AbcObjectReader subclass constructors.
+ * \return whether this IObject claims its parent as part of the same object
+ *         (for example an IPolyMesh object would claim its parent, as the mesh
+ *         is interpreted as the object's data, and the parent IXform as its
+ *         Blender object).
+ */
 static bool visit_object(const IObject &object,
                          std::vector<AbcObjectReader *> &readers,
                          GHash * readers_map,




More information about the Bf-blender-cvs mailing list