From ba274d20b4f19833e6413fdc7f1bc3a663cc2f8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dietrich?= Date: Thu, 24 Feb 2022 02:46:33 +0100 Subject: Fix T95959: crash when exporting subdivision to Alembic When exporting generated coordinates, the subdivision export code was using the schema for the non-subdivision case, which is invalid as non-initialized. This typo existed since the initial commit for the feature (rBf9567f6c63e75feaf701fa7b78669b9a436f13dd). --- source/blender/io/alembic/exporter/abc_writer_mesh.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/io/alembic/exporter/abc_writer_mesh.cc b/source/blender/io/alembic/exporter/abc_writer_mesh.cc index 6ab4b06fba6..ba028f756e1 100644 --- a/source/blender/io/alembic/exporter/abc_writer_mesh.cc +++ b/source/blender/io/alembic/exporter/abc_writer_mesh.cc @@ -323,7 +323,7 @@ void ABCGenericMeshWriter::write_subd(HierarchyContext &context, struct Mesh *me } if (args_.export_params->orcos) { - write_generated_coordinates(abc_poly_mesh_schema_.getArbGeomParams(), m_custom_data_config); + write_generated_coordinates(abc_subdiv_schema_.getArbGeomParams(), m_custom_data_config); } if (!edge_crease_indices.empty()) { -- cgit v1.2.3