Changeset View
Changeset View
Standalone View
Standalone View
source/blender/usd/intern/usd_writer_mesh.cc
| Show First 20 Lines • Show All 477 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| USDMeshWriter::USDMeshWriter(const USDExporterContext &ctx) : USDGenericMeshWriter(ctx) | USDMeshWriter::USDMeshWriter(const USDExporterContext &ctx) : USDGenericMeshWriter(ctx) | ||||
| { | { | ||||
| } | } | ||||
| Mesh *USDMeshWriter::get_export_mesh(Object *object_eval, bool & /*r_needsfree*/) | Mesh *USDMeshWriter::get_export_mesh(Object *object_eval, bool & /*r_needsfree*/) | ||||
| { | { | ||||
| return object_eval->runtime.mesh_eval; | return BKE_object_get_evaluated_mesh(object_eval); | ||||
| } | } | ||||
| } // namespace USD | } // namespace USD | ||||