Fix #136625: Crash switching to Texture Paint workspace

Simple mistake in 9b70851d91.
The batch creation info wasn't moved to the vector, so nothing happened;
it was never created.
This commit is contained in:
Hans Goudey
2025-03-28 14:47:35 -04:00
parent ffef093c25
commit ec2cdce657

View File

@@ -1369,6 +1369,7 @@ void DRW_mesh_batch_cache_create_requested(TaskGraph &task_graph,
if (cache.cd_used.uv != 0) {
batch.vbos.append(VBOType::UVs);
}
batch_info.append(std::move(batch));
}
if (batches_to_create & MBC_EDIT_MESH_ANALYSIS) {
batch_info.append({*cache.batch.edit_mesh_analysis,