Fix T76062: Interpolate Radius in Curve Subdivide Special Case

Differential Revision: https://developer.blender.org/D7523
This commit is contained in:
Hans Goudey 2020-05-01 16:49:36 -05:00
parent 06839379c5
commit 7212dbd7be
Notes: blender-bot 2023-02-14 08:08:54 +01:00
Referenced by issue #76062, Nurbs curve vertex radius wrong subdivision
1 changed files with 1 additions and 0 deletions

View File

@ -3589,6 +3589,7 @@ static void subdividenurb(Object *obedit, View3D *v3d, int number_cuts)
memcpy(bpn, nextbp, sizeof(BPoint));
interp_v4_v4v4(bpn->vec, bp->vec, nextbp->vec, factor);
bpn->radius = interpf(bp->radius, nextbp->radius, factor);
bpn++;
}
}