Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2009-04-14 21:13:21 +0400
committerTon Roosendaal <ton@blender.org>2009-04-14 21:13:21 +0400
commitbcabc596c9a50dc5c604648c3e83f06eb079d2e2 (patch)
tree392dfbf7fcd3b77918544ad681e078284991643e
parent3511f8ef9fe6a2a6491fbae3a44a407f280a19e0 (diff)
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!
-rw-r--r--source/blender/blenkernel/BKE_curve.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_curve.h b/source/blender/blenkernel/BKE_curve.h
index a8d4ece7a21..79f4708fd41 100644
--- a/source/blender/blenkernel/BKE_curve.h
+++ b/source/blender/blenkernel/BKE_curve.h
@@ -47,7 +47,7 @@ struct BevList;
#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);