mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix unnecessary corner edge computation in multires bake
The root of the bug was wrong edges, but it wasn't necessary to compute
corner edges at all and this was unnecessarily added in 16fbadde36.
Ref #109161
This commit is contained in:
parent
d622673f4b
commit
ef9d9c6856
1 changed files with 0 additions and 1 deletions
|
|
@ -504,7 +504,6 @@ static void do_multires_bake(MultiresBakeRender *bkr,
|
|||
{reinterpret_cast<const blender::int2 *>(dm->getEdgeArray(dm)), temp_mesh->totedge});
|
||||
temp_mesh->poly_offsets_for_write().copy_from({dm->getPolyArray(dm), temp_mesh->totpoly + 1});
|
||||
temp_mesh->corner_verts_for_write().copy_from({dm->getCornerVertArray(dm), temp_mesh->totloop});
|
||||
temp_mesh->corner_edges_for_write().copy_from({dm->getCornerEdgeArray(dm), temp_mesh->totloop});
|
||||
|
||||
const blender::Span<blender::float3> positions = temp_mesh->vert_positions();
|
||||
const blender::OffsetIndices polys = temp_mesh->polys();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue