From c4e277d53b29c33bc2da96113e1ff27f38f0d1a2 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Fri, 9 May 2014 20:43:40 +0900 Subject: Freestyle: Fix for a wrong interpolation of stroke segment visibility. --- source/blender/freestyle/intern/stroke/Stroke.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/freestyle/intern/stroke/Stroke.cpp') 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)) { -- cgit v1.2.3