Fix T54112: curve.splines.new() ignores Curve.resolution_u/v

This commit is contained in:
Campbell Barton
2020-06-20 13:17:04 +10:00
parent 92c5b12df6
commit d7152244f8

View File

@@ -687,7 +687,8 @@ static Nurb *rna_Curve_spline_new(Curve *cu, int type)
nu->pntsv = 1;
nu->orderu = nu->orderv = 4;
nu->resolu = nu->resolv = 12;
nu->resolu = cu->resolu;
nu->resolv = cu->resolv;
nu->flag = CU_SMOOTH;
if ((cu->flag & CU_3D) == 0) {