diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-05-09 15:43:40 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-05-09 15:48:15 +0400 |
commit | c4e277d53b29c33bc2da96113e1ff27f38f0d1a2 (patch) | |
tree | 3134a4ffc5ddfbe57fffa9ee5c2ad1d10c78c2e6 /source | |
parent | d2ed5563d7127a44571e3518f535d71d0bdaf1ae (diff) |
Freestyle: Fix for a wrong interpolation of stroke segment visibility.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/freestyle/intern/stroke/Stroke.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/stroke/Stroke.cpp b/source/blender/freestyle/intern/stroke/Stroke.cpp index 9ed2cab8448..6629de0fa04 100644 --- a/source/blender/freestyle/intern/stroke/Stroke.cpp +++ b/source/blender/freestyle/intern/stroke/Stroke.cpp @@ -106,7 +106,7 @@ StrokeAttribute::StrokeAttribute(const StrokeAttribute& a1, const StrokeAttribut for (int i = 0; i < 3; ++i) _color[i] = (1 - t) * a1._color[i] + t * a2._color[i]; - _visible = true; + _visible = a1.isVisible(); // FIXME: to be checked (and enhanced) if ((a1._userAttributesReal) && (a2._userAttributesReal)) { |