From 99f7f3ac81c3854e131562c660183bdf5279dc38 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Sun, 13 Nov 2011 20:20:50 +0000 Subject: Added new options for splitting chains of feature edges by a minimum and maximum 2D angle. --- source/blender/makesdna/DNA_linestyle_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/makesdna/DNA_linestyle_types.h') diff --git a/source/blender/makesdna/DNA_linestyle_types.h b/source/blender/makesdna/DNA_linestyle_types.h index a73dd707caa..aa28ecac77d 100644 --- a/source/blender/makesdna/DNA_linestyle_types.h +++ b/source/blender/makesdna/DNA_linestyle_types.h @@ -358,6 +358,8 @@ typedef struct LineStyleThicknessModifier_Calligraphy { #define LS_MIN_2D_LENGTH 16 #define LS_MAX_2D_LENGTH 32 #define LS_NO_CHAINING 64 +#define LS_MIN_2D_ANGLE 128 +#define LS_MAX_2D_ANGLE 256 /* FreestyleLineStyle::chaining */ #define LS_CHAINING_PLAIN 1 @@ -377,6 +379,7 @@ typedef struct FreestyleLineStyle { int flag, caps; int chaining; unsigned int rounds; + float min_angle, max_angle; /* for splitting */ float min_length, max_length; unsigned short dash1, gap1, dash2, gap2, dash3, gap3; int panel; /* for UI */ -- cgit v1.2.3