Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/alembic/exporter/abc_writer_points.cc
| Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | void ABCPointsWriter::create_alembic_objects(const HierarchyContext * /*context*/) | ||||
| abc_points_schema_ = abc_points_.getSchema(); | abc_points_schema_ = abc_points_.getSchema(); | ||||
| } | } | ||||
| Alembic::Abc::OObject ABCPointsWriter::get_alembic_object() const | Alembic::Abc::OObject ABCPointsWriter::get_alembic_object() const | ||||
| { | { | ||||
| return abc_points_; | return abc_points_; | ||||
| } | } | ||||
| Alembic::Abc::OCompoundProperty ABCPointsWriter::abc_prop_for_custom_props() | |||||
| { | |||||
| return abc_schema_prop_for_custom_props(abc_points_schema_); | |||||
| } | |||||
| bool ABCPointsWriter::is_supported(const HierarchyContext *context) const | bool ABCPointsWriter::is_supported(const HierarchyContext *context) const | ||||
| { | { | ||||
| return ELEM(context->particle_system->part->type, | return ELEM(context->particle_system->part->type, | ||||
| PART_EMITTER, | PART_EMITTER, | ||||
| PART_FLUID_FLIP, | PART_FLUID_FLIP, | ||||
| PART_FLUID_SPRAY, | PART_FLUID_SPRAY, | ||||
| PART_FLUID_BUBBLE, | PART_FLUID_BUBBLE, | ||||
| PART_FLUID_FOAM, | PART_FLUID_FOAM, | ||||
| ▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines | |||||