Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-05-09 15:43:40 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-05-09 15:48:15 +0400
commitc4e277d53b29c33bc2da96113e1ff27f38f0d1a2 (patch)
tree3134a4ffc5ddfbe57fffa9ee5c2ad1d10c78c2e6 /source/blender/freestyle/intern/stroke/Stroke.cpp
parentd2ed5563d7127a44571e3518f535d71d0bdaf1ae (diff)
Freestyle: Fix for a wrong interpolation of stroke segment visibility.
Diffstat (limited to 'source/blender/freestyle/intern/stroke/Stroke.cpp')
-rw-r--r--source/blender/freestyle/intern/stroke/Stroke.cpp2
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)) {