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 99506b3d73 - Show all commits

View File

@ -365,7 +365,7 @@ static void apply_weights_vertex_normal(WeightedNormalModifierData *wnmd,
/* NOTE: in theory, we could avoid this extra allocation & copying...
* But think we can live with it for now,
* and it makes code simpler & cleaner. */
blender::Array<blender::float3> vert_normals;
blender::Array<blender::float3> vert_normals(verts_num, float3(0));
for (int ml_index = 0; ml_index < loops.size(); ml_index++) {
const int mv_index = loops[ml_index].v;