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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2011-11-14 00:20:50 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2011-11-14 00:20:50 +0400
commit99f7f3ac81c3854e131562c660183bdf5279dc38 (patch)
tree43cdd319fa819910347221a336e118ea16e5d9e9 /source/blender/makesdna/DNA_linestyle_types.h
parent43c74f768b41551127d2952d398cee40703b28a5 (diff)
Added new options for splitting chains of feature edges by a minimum
and maximum 2D angle.
Diffstat (limited to 'source/blender/makesdna/DNA_linestyle_types.h')
-rw-r--r--source/blender/makesdna/DNA_linestyle_types.h3
1 files changed, 3 insertions, 0 deletions
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 */