19using Alembic::Abc::OObject;
28 OObject original =
args_.hierarchy_iterator->get_alembic_object(context->original_export_path);
29 OObject abc_parent =
args_.abc_parent;
30 if (!abc_parent.addChildInstance(original,
args_.abc_name)) {
44 return Alembic::Abc::OCompoundProperty();
50 BLI_assert_msg(0,
"ABCInstanceWriter cannot return its Alembic OObject");
56 return context->is_instance();
#define BLI_assert_msg(a, msg)
#define CLOG_DEBUG(clg_ref,...)
#define CLOG_WARN(clg_ref,...)
ABCAbstractWriter(const ABCWriterConstructorArgs &args)
const ABCWriterConstructorArgs args_
void create_alembic_objects(const HierarchyContext *context) override
bool is_supported(const HierarchyContext *context) const override
void do_write(HierarchyContext &context) override
Alembic::Abc::OCompoundProperty abc_prop_for_custom_props() override
Alembic::Abc::OObject get_alembic_object() const override
void ensure_custom_properties_exporter(const HierarchyContext &context) override
ABCInstanceWriter(const ABCWriterConstructorArgs &args)