Merge branch 'blender-v3.2-release'
This commit is contained in:
commit
b1cd3be0d0
|
@ -342,7 +342,7 @@ void BKE_editmesh_loop_tangent_calc(BMEditMesh *em,
|
|||
/* Calculation */
|
||||
if (em->tottri != 0) {
|
||||
TaskPool *task_pool;
|
||||
task_pool = BLI_task_pool_create(NULL, TASK_PRIORITY_LOW);
|
||||
task_pool = BLI_task_pool_create(NULL, TASK_PRIORITY_HIGH);
|
||||
|
||||
tangent_mask_curr = 0;
|
||||
/* Calculate tangent layers */
|
||||
|
|
|
@ -620,7 +620,7 @@ void BKE_mesh_calc_loop_tangent_ex(const MVert *mvert,
|
|||
|
||||
/* Calculation */
|
||||
if (looptri_len != 0) {
|
||||
TaskPool *task_pool = BLI_task_pool_create(NULL, TASK_PRIORITY_LOW);
|
||||
TaskPool *task_pool = BLI_task_pool_create(NULL, TASK_PRIORITY_HIGH);
|
||||
|
||||
tangent_mask_curr = 0;
|
||||
/* Calculate tangent layers */
|
||||
|
|
|
@ -3194,7 +3194,7 @@ void psys_cache_child_paths(ParticleSimulationData *sim,
|
|||
return;
|
||||
}
|
||||
|
||||
task_pool = BLI_task_pool_create(&ctx, TASK_PRIORITY_LOW);
|
||||
task_pool = BLI_task_pool_create(&ctx, TASK_PRIORITY_HIGH);
|
||||
totchild = ctx.totchild;
|
||||
totparent = ctx.totparent;
|
||||
|
||||
|
|
|
@ -1313,7 +1313,7 @@ static void distribute_particles_on_dm(ParticleSimulationData *sim, int from)
|
|||
return;
|
||||
}
|
||||
|
||||
task_pool = BLI_task_pool_create(&ctx, TASK_PRIORITY_LOW);
|
||||
task_pool = BLI_task_pool_create(&ctx, TASK_PRIORITY_HIGH);
|
||||
|
||||
totpart = (from == PART_FROM_CHILD ? sim->psys->totchild : sim->psys->totpart);
|
||||
psys_tasks_create(&ctx, 0, totpart, &tasks, &numtasks);
|
||||
|
|
Loading…
Reference in New Issue