Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/alembic/exporter/abc_writer_mesh.cc
| Show First 20 Lines • Show All 156 Lines • ▼ Show 20 Lines | ModifierData *ABCGenericMeshWriter::get_liquid_sim_modifier(Scene *scene, Object *ob) | ||||
| } | } | ||||
| return nullptr; | return nullptr; | ||||
| } | } | ||||
| bool ABCGenericMeshWriter::is_supported(const HierarchyContext *context) const | bool ABCGenericMeshWriter::is_supported(const HierarchyContext *context) const | ||||
| { | { | ||||
| if (args_.export_params->visible_objects_only) { | if (args_.export_params->visible_objects_only) { | ||||
| return context->is_object_visible(DAG_EVAL_RENDER); | return context->is_object_visible(args_.export_params->evaluation_mode); | ||||
| } | } | ||||
| return true; | return true; | ||||
| } | } | ||||
| void ABCGenericMeshWriter::do_write(HierarchyContext &context) | void ABCGenericMeshWriter::do_write(HierarchyContext &context) | ||||
| { | { | ||||
| Object *object = context.object; | Object *object = context.object; | ||||
| bool needsfree = false; | bool needsfree = false; | ||||
| ▲ Show 20 Lines • Show All 383 Lines • Show Last 20 Lines | |||||