[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33802] trunk/blender/source/blender/ blenkernel/intern/curve.c: change the resolution for new surfaces to 4x4, since 12x12 used to be the total number of subdivisions along the U/ V of the nurbs surface but now its multiplied by the number of segments.

Campbell Barton ideasman42 at gmail.com
Mon Dec 20 08:45:35 CET 2010


Revision: 33802
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33802
Author:   campbellbarton
Date:     2010-12-20 08:45:24 +0100 (Mon, 20 Dec 2010)

Log Message:
-----------
change the resolution for new surfaces to 4x4, since 12x12 used to be the total number of subdivisions along the U/V of the nurbs surface but now its multiplied by the number of segments.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/curve.c

Modified: trunk/blender/source/blender/blenkernel/intern/curve.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/curve.c	2010-12-20 07:21:08 UTC (rev 33801)
+++ trunk/blender/source/blender/blenkernel/intern/curve.c	2010-12-20 07:45:24 UTC (rev 33802)
@@ -139,7 +139,7 @@
 	cu->size[0]= cu->size[1]= cu->size[2]= 1.0;
 	cu->flag= CU_FRONT|CU_BACK|CU_DEFORM_BOUNDS_OFF|CU_PATH_RADIUS;
 	cu->pathlen= 100;
-	cu->resolu= cu->resolv= 12;
+	cu->resolu= cu->resolv= (type == OB_SURF) ? 4 : 12;
 	cu->width= 1.0;
 	cu->wordspace = 1.0;
 	cu->spacing= cu->linedist= 1.0;





More information about the Bf-blender-cvs mailing list