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:
authorCampbell Barton <ideasman42@gmail.com>2013-05-16 16:16:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-16 16:16:20 +0400
commitac483b5123c55c7bbb42198e2022f896d1b6d176 (patch)
tree5fd12e5d6170033be5687f8a0af43fe761eb8f89 /source/blender/freestyle/intern
parenta23bc7aa8a1a91b93bc59fc632028135848b0fad (diff)
svn merge ^/trunk/blender -c56826 -c56836 -c56839
Diffstat (limited to 'source/blender/freestyle/intern')
-rw-r--r--source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp b/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp
index 2215bd9df02..d30a75d9e14 100644
--- a/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp
+++ b/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp
@@ -158,6 +158,8 @@ int SpatialNoiseShader::shade(Stroke &ioStroke) const
++v;
}
+ ioStroke.UpdateLength();
+
return 0;
}
@@ -342,6 +344,7 @@ void Smoother::copyVertices()
(v)->setPoint(p[0], p[1]);
++i;
}
+ _stroke->UpdateLength();
}
#if 0 // FIXME