diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-31 11:58:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-31 11:58:50 +0400 |
commit | f4a1dc4c8dd353aa614bc7c00846e5076ddc2dc2 (patch) | |
tree | ae56aaeed0df9baf5be6677f8311ee055aa6bc48 /source/blender | |
parent | c7a1a191532721e3a88cb412537027fa4dfca641 (diff) |
when converting curves from poly -> nurbs, dont enable Bezier-U flag.
Not sure why this was enabled, possibly from copy/paste with bezier->nurbs code?
If you have meny poly lines there was no nice way to convert these into a smoothed nurbs curve.
Ran into this when trying to convert generated ivy into smooth nurbs.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index 8b9477adf92..210f36ca074 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -3432,7 +3432,6 @@ static int convertspline(short type, Nurb *nu) nu->type = CU_NURBS; nu->orderu= 4; nu->flagu &= CU_NURB_CYCLIC; /* disable all flags except for cyclic */ - nu->flagu |= CU_NURB_BEZIER; nurbs_knot_calc_u(nu); a= nu->pntsu*nu->pntsv; bp= nu->bp; |