[Bf-blender-cvs] [12423cdc285] temp-sybren-alembic-customprops-read: WIP on Alembic custom properties

Sybren A. Stüvel noreply at git.blender.org
Thu Dec 7 10:36:21 CET 2017


Commit: 12423cdc28511575ae622665dfd5311ae62d4017
Author: Sybren A. Stüvel
Date:   Wed Nov 1 08:26:58 2017 +0100
Branches: temp-sybren-alembic-customprops-read
https://developer.blender.org/rB12423cdc28511575ae622665dfd5311ae62d4017

WIP on Alembic custom properties

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

M	source/blender/alembic/intern/abc_object.cc
M	source/blender/alembic/intern/abc_object.h

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

diff --git a/source/blender/alembic/intern/abc_object.cc b/source/blender/alembic/intern/abc_object.cc
index 6c4cb60d63c..c77d7529750 100644
--- a/source/blender/alembic/intern/abc_object.cc
+++ b/source/blender/alembic/intern/abc_object.cc
@@ -382,3 +382,9 @@ void AbcObjectReader::decref()
 	--m_refcount;
 	BLI_assert(m_refcount >= 0);
 }
+
+void AbcObjectReader::read_custom_properties(const Alembic::Abc::ISampleSelector &sample_sel)
+{
+	/* Maya seems to write custom properties to the .abcGeomParams Alembic property. */
+
+}
diff --git a/source/blender/alembic/intern/abc_object.h b/source/blender/alembic/intern/abc_object.h
index 852ef451f23..b948c5653d6 100644
--- a/source/blender/alembic/intern/abc_object.h
+++ b/source/blender/alembic/intern/abc_object.h
@@ -200,6 +200,8 @@ public:
 
 protected:
 	void determine_inherits_xform();
+
+	void read_custom_properties(const Alembic::Abc::ISampleSelector &sample_sel);
 };
 
 Imath::M44d get_matrix(const Alembic::AbcGeom::IXformSchema &schema, const float time);



More information about the Bf-blender-cvs mailing list