Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/alembic/exporter/abc_writer_mesh.cc
| Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Lines | else { | ||||
| OBoolProperty type(typeContainer, "meshtype"); | OBoolProperty type(typeContainer, "meshtype"); | ||||
| type.set(subsurf_modifier_ == nullptr); | type.set(subsurf_modifier_ == nullptr); | ||||
| } | } | ||||
| Scene *scene_eval = DEG_get_evaluated_scene(args_.depsgraph); | Scene *scene_eval = DEG_get_evaluated_scene(args_.depsgraph); | ||||
| liquid_sim_modifier_ = get_liquid_sim_modifier(scene_eval, context->object); | liquid_sim_modifier_ = get_liquid_sim_modifier(scene_eval, context->object); | ||||
| } | } | ||||
| ABCGenericMeshWriter::~ABCGenericMeshWriter() | |||||
| { | |||||
| } | |||||
| Alembic::Abc::OObject ABCGenericMeshWriter::get_alembic_object() const | Alembic::Abc::OObject ABCGenericMeshWriter::get_alembic_object() const | ||||
| { | { | ||||
| if (is_subd_) { | if (is_subd_) { | ||||
| return abc_subdiv_; | return abc_subdiv_; | ||||
| } | } | ||||
| return abc_poly_mesh_; | return abc_poly_mesh_; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 433 Lines • Show Last 20 Lines | |||||