From 38f24637d49f6d8742883d50fbae4738de56cd4c Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Mon, 19 Sep 2011 22:40:44 +0000 Subject: Added new line style options for sketchy chaining of feature edges. The default chaining option is now called "Natural", while the new chaining options are "Sketchy: Topology Preserved" and "Sketchy: Topology broken". The latter two options allow for generating chains of feature edges with a sketchy multiple touch. The "Sketchy: Topology Preserved" option takes account of the topology of objects in the view map, while the "Sketchy: Topology broken" ignores the edge topology. The "rounds" option specifies the number of rounds in sketchy strokes. --- source/blender/blenkernel/intern/linestyle.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel/intern/linestyle.c') diff --git a/source/blender/blenkernel/intern/linestyle.c b/source/blender/blenkernel/intern/linestyle.c index 86ea80cb89e..167f440ffd0 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->chaining = LS_CHAINING_NATURAL; + linestyle->rounds = 3; linestyle->min_length = 0.0f; linestyle->max_length = 10000.0f; -- cgit v1.2.3