diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-10-11 02:50:32 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-10-11 02:50:32 +0400 |
commit | 84f5a9a71834307e81f9386d911385e658d6d83d (patch) | |
tree | 1cbabce09fa1facf667d0a1e752a5e468ce352ff /source/blender/blenkernel/intern/linestyle.c | |
parent | d7cd6e349d01f6be60649a013c22330f0ba34c54 (diff) |
Added support for three types of stroke caps that determines the shape
of both ends of strokes. The three cap types are: 1) butt caps (flat);
2) round caps (half-circle); and 3) square caps (flat and extended).
Also implemented an option to join those feature edges of the same
object. These options are available in the "Stroke" tab of the
"Freestyle: Line Style" panel in the Render buttons.
Diffstat (limited to 'source/blender/blenkernel/intern/linestyle.c')
-rw-r--r-- | source/blender/blenkernel/intern/linestyle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/linestyle.c b/source/blender/blenkernel/intern/linestyle.c index ef4ce16328f..ba2e150deac 100644 --- a/source/blender/blenkernel/intern/linestyle.c +++ b/source/blender/blenkernel/intern/linestyle.c @@ -62,6 +62,8 @@ static void default_linestyle_settings(FreestyleLineStyle *linestyle) linestyle->color_modifiers.first = linestyle->color_modifiers.last = NULL; linestyle->alpha_modifiers.first = linestyle->alpha_modifiers.last = NULL; linestyle->thickness_modifiers.first = linestyle->thickness_modifiers.last = NULL; + + linestyle->caps = LS_CAPS_BUTT; } FreestyleLineStyle *FRS_new_linestyle(char *name, struct Main *main) |