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-09-19 02:59:51 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2011-09-19 02:59:51 +0400
commit513293a2566016f6e2f1aba00f73910d14e71780 (patch)
treec6d23475c22767777988962fc7a11bdc9d6f8e6c /source/blender/makesdna/DNA_linestyle_types.h
parent70821c6b24f19acd7263fadf161b94611b53273f (diff)
Added new line style options for selecting chains by min/max 2D lengths.
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 8b3b5a60181..85468ce6657 100644
--- a/source/blender/makesdna/DNA_linestyle_types.h
+++ b/source/blender/makesdna/DNA_linestyle_types.h
@@ -319,6 +319,8 @@ typedef struct LineStyleThicknessModifier_Calligraphy {
#define LS_SAME_OBJECT 2
#define LS_DASHED_LINE 4
#define LS_MATERIAL_BOUNDARY 8
+#define LS_MIN_2D_LENGTH 16
+#define LS_MAX_2D_LENGTH 32
/* FreestyleLineStyle::caps */
#define LS_CAPS_BUTT 1
@@ -332,6 +334,7 @@ typedef struct FreestyleLineStyle {
float r, g, b, alpha;
float thickness;
int flag, caps;
+ float min_length, max_length;
unsigned short dash1, gap1, dash2, gap2, dash3, gap3;
int panel; /* for UI */
int pad1;