main sync #3

Merged
Patrick Busch merged 318 commits from blender/blender:main into main 2023-03-17 15:52:21 +01:00
Showing only changes of commit d3cfb2e20e - Show all commits

View File

@ -322,7 +322,7 @@ void looptris_calc_with_normals(const Span<float3> vert_positions,
const Span<float3> poly_normals,
MutableSpan<MLoopTri> looptris)
{
BLI_assert(!poly_normals.is_empty());
BLI_assert(!poly_normals.is_empty() || polys.is_empty());
looptris_calc_all(vert_positions, polys, loops, poly_normals, looptris);
}