Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2020-05-02 00:49:36 +0300
committerHans Goudey <h.goudey@me.com>2020-05-04 17:20:25 +0300
commit133c2381ec7829578fb1652d0b6cbfe8bf314249 (patch)
tree3d488c5d28ed7c9906c1bf92748a0b3cf08d0e3a
parent37182c369aa64eda8cb287a1e7dc857c8f58906f (diff)
Fix T76062: Interpolate Radius in Curve Subdivide Special Case
Differential Revision: https://developer.blender.org/D7523
-rw-r--r--source/blender/editors/curve/editcurve.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index 818acd28ecd..d6256f67066 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -3592,6 +3592,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++;
}
}