[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38877] trunk/blender/source/blender/ editors/curve/editcurve.c: when converting curves from poly -> nurbs, dont enable Bezier-U flag.
Campbell Barton
ideasman42 at gmail.com
Sun Jul 31 09:58:51 CEST 2011
Revision: 38877
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38877
Author: campbellbarton
Date: 2011-07-31 07:58:50 +0000 (Sun, 31 Jul 2011)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/blender/source/blender/editors/curve/editcurve.c
Modified: trunk/blender/source/blender/editors/curve/editcurve.c
===================================================================
--- trunk/blender/source/blender/editors/curve/editcurve.c 2011-07-31 07:54:24 UTC (rev 38876)
+++ trunk/blender/source/blender/editors/curve/editcurve.c 2011-07-31 07:58:50 UTC (rev 38877)
@@ -3432,7 +3432,6 @@
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;
More information about the Bf-blender-cvs
mailing list