Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2022-02-24 04:46:33 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2022-02-24 04:46:33 +0300
commitba274d20b4f19833e6413fdc7f1bc3a663cc2f8c (patch)
tree5f51d3e918343b29d55a5cd393acb9e1198e8f42
parentc9582b2752c8e016f128f71a530cab283ba26f64 (diff)
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).
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_mesh.cc2
1 files changed, 1 insertions, 1 deletions
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()) {