Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/io/alembic/exporter/abc_writer_instance.cc')
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_instance.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/io/alembic/exporter/abc_writer_instance.cc b/source/blender/io/alembic/exporter/abc_writer_instance.cc
index 14c65e2a2e2..7f3b044cb8b 100644
--- a/source/blender/io/alembic/exporter/abc_writer_instance.cc
+++ b/source/blender/io/alembic/exporter/abc_writer_instance.cc
@@ -50,6 +50,16 @@ void ABCInstanceWriter::create_alembic_objects(const HierarchyContext *context)
CLOG_INFO(&LOG, 2, "exporting instance %s", args_.abc_path.c_str());
}
+void ABCInstanceWriter::ensure_custom_properties_exporter(const HierarchyContext & /*context*/)
+{
+ /* Intentionally do nothing. Instances should not have their own custom properties. */
+}
+
+Alembic::Abc::OCompoundProperty ABCInstanceWriter::abc_prop_for_custom_props()
+{
+ return Alembic::Abc::OCompoundProperty();
+}
+
OObject ABCInstanceWriter::get_alembic_object() const
{
/* There is no OObject for an instance. */