[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19716] trunk/blender/source/blender/ blenkernel/BKE_curve.h: Bugfix #18108

Ton Roosendaal ton at blender.org
Tue Apr 14 19:13:22 CEST 2009


Revision: 19716
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19716
Author:   ton
Date:     2009-04-14 19:13:21 +0200 (Tue, 14 Apr 2009)

Log Message:
-----------
Bugfix #18108

Another bug in the 'radius per vertex' feature in curves.

If you set front/back face off for curves, and make it bevel or give
depth, the curves should draw as tubes. This feature didn't work in 2.48
either... 

Still unsure about this implementation, campbell can check!

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/BKE_curve.h

Modified: trunk/blender/source/blender/blenkernel/BKE_curve.h
===================================================================
--- trunk/blender/source/blender/blenkernel/BKE_curve.h	2009-04-14 15:59:52 UTC (rev 19715)
+++ trunk/blender/source/blender/blenkernel/BKE_curve.h	2009-04-14 17:13:21 UTC (rev 19716)
@@ -47,7 +47,7 @@
 #define SEGMENTSV(nu)	    ( ((nu)->flagv & CU_CYCLIC) ? (nu)->pntsv : (nu)->pntsv-1 )
 
 #define CU_DO_TILT(cu, nu) (((nu->type & CU_2D) && (cu->flag & CU_3D)==0) ? 0 : 1)
-#define CU_DO_RADIUS(cu, nu) ((CU_DO_TILT(cu, nu) || cu->bevobj) ? 1:0)
+#define CU_DO_RADIUS(cu, nu) ((CU_DO_TILT(cu, nu) || cu->bevobj || cu->ext1!=0.0 || cu->ext2!=0.0) ? 1:0)
 
 
 void unlink_curve( struct Curve *cu);





More information about the Bf-blender-cvs mailing list