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