Merge branch 'blender-v3.1-release'

This commit is contained in:
Campbell Barton 2022-02-03 22:42:48 +11:00
commit 5a2101f754
1 changed files with 1 additions and 1 deletions

View File

@ -899,7 +899,7 @@ float BKE_nurb_calc_length(const Nurb *nu, int resolution)
pntsit = points + 3;
}
while (--b) {
while (--b > 0) {
length += len_v3v3(prevpntsit, pntsit);
prevpntsit = pntsit;
pntsit += 3;