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/blenkernel/intern/linestyle.c
parent70821c6b24f19acd7263fadf161b94611b53273f (diff)
Added new line style options for selecting chains by min/max 2D lengths.
Diffstat (limited to 'source/blender/blenkernel/intern/linestyle.c')
-rw-r--r--source/blender/blenkernel/intern/linestyle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/linestyle.c b/source/blender/blenkernel/intern/linestyle.c
index 88584633a49..86ea80cb89e 100644
--- a/source/blender/blenkernel/intern/linestyle.c
+++ b/source/blender/blenkernel/intern/linestyle.c
@@ -69,6 +69,8 @@ static void default_linestyle_settings(FreestyleLineStyle *linestyle)
linestyle->r = linestyle->g = linestyle->b = 0.0;
linestyle->alpha = 1.0;
linestyle->thickness = 1.0;
+ linestyle->min_length = 0.0f;
+ linestyle->max_length = 10000.0f;
linestyle->color_modifiers.first = linestyle->color_modifiers.last = NULL;
linestyle->alpha_modifiers.first = linestyle->alpha_modifiers.last = NULL;