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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user