diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-09-20 03:24:14 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-09-20 03:24:14 +0400 |
commit | 5582d9fac13123397297db54a0478a63a1b75194 (patch) | |
tree | 242143a9ab8e411858f0c2a67ebc28447a821721 /source/blender/blenkernel/intern/linestyle.c | |
parent | 81702789d15668f22b1cd173361b3f20fb1fea34 (diff) |
Rearranged the organization of chaining options in line styles.
New there are only two chaining types: plain and sketchy. Both chaining types
have the "same object" option. With this option enabled, only feature edges of
the same object are chained. The sketchy chaining also has the "rounds" option
to specify the number of rounds in a sketchy multiple touch.
Also removed a temporary workaround (implemented by means of a custom chaining
rule) for infinite straight lines, which has resulted in much cleaner strokes.
Diffstat (limited to 'source/blender/blenkernel/intern/linestyle.c')
-rw-r--r-- | source/blender/blenkernel/intern/linestyle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/linestyle.c b/source/blender/blenkernel/intern/linestyle.c index 167f440ffd0..faf4b11f489 100644 --- a/source/blender/blenkernel/intern/linestyle.c +++ b/source/blender/blenkernel/intern/linestyle.c @@ -69,7 +69,7 @@ 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->chaining = LS_CHAINING_PLAIN; linestyle->rounds = 3; linestyle->min_length = 0.0f; linestyle->max_length = 10000.0f; |