Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/alembic/exporter/abc_writer_hair.cc
| Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | void ABCHairWriter::create_alembic_objects(const HierarchyContext * /*context*/) | ||||
| abc_curves_schema_ = abc_curves_.getSchema(); | abc_curves_schema_ = abc_curves_.getSchema(); | ||||
| } | } | ||||
| Alembic::Abc::OObject ABCHairWriter::get_alembic_object() const | Alembic::Abc::OObject ABCHairWriter::get_alembic_object() const | ||||
| { | { | ||||
| return abc_curves_; | return abc_curves_; | ||||
| } | } | ||||
| Alembic::Abc::OCompoundProperty ABCHairWriter::abc_prop_for_custom_props() | |||||
| { | |||||
| return abc_schema_prop_for_custom_props(abc_curves_schema_); | |||||
| } | |||||
| bool ABCHairWriter::check_is_animated(const HierarchyContext & /*context*/) const | bool ABCHairWriter::check_is_animated(const HierarchyContext & /*context*/) const | ||||
| { | { | ||||
| /* We assume that hair particles are always animated. */ | /* We assume that hair particles are always animated. */ | ||||
| return true; | return true; | ||||
| } | } | ||||
| void ABCHairWriter::do_write(HierarchyContext &context) | void ABCHairWriter::do_write(HierarchyContext &context) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 235 Lines • Show Last 20 Lines | |||||