Fix T76062: Interpolate Radius in Curve Subdivide Special Case
Differential Revision: https://developer.blender.org/D7523
This commit is contained in:
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
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue