Fix #115526: missing normals on first chunk of array modifier #115612

Merged
Philipp Oeser merged 2 commits from lichtwerk/blender:115526 into main 2023-11-30 15:50:02 +01:00

2 Commits

Author SHA1 Message Date
Philipp Oeser 0fe9dd6ce0 review comments 2023-11-30 15:44:03 +01:00
Philipp Oeser d6feb2af5d Fix #115526: missing normals on first chunk of array modifier
Exposed by 383a145a19.

Think the issue actually started in cfa53e0fbe, since then the new
destination normals were only filled from the first array copy onwards
(probably hidden by some recalculation of normals somewhere?).

In any case, starting the destination normals array with what we have
from the input mesh normals and then resizing the array (instead of
reinitializing it from scratch) fixes this.
2023-11-30 14:43:56 +01:00