diff options
author | Hans Goudey <h.goudey@me.com> | 2020-05-02 00:49:36 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-05-02 00:49:36 +0300 |
commit | 7212dbd7be8d69f1fea5c918d820796641197417 (patch) | |
tree | 5667b278a1f09b7535479fa226dbe577ce05da51 /source/blender/editors | |
parent | 06839379c5d4f541a80c4d0f4487d8eb2c6fbba0 (diff) |
Fix T76062: Interpolate Radius in Curve Subdivide Special Case
Differential Revision: https://developer.blender.org/D7523
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index c0e5e11ac22..349d79a2f7d 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -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++; } } |