diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-09-23 17:34:26 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-09-23 17:35:15 +0400 |
commit | d342f46682a7def4ba84ab6bc939473385d85f08 (patch) | |
tree | e2f05acff6a1a51da805f0a6f97e6a6df19c4d54 /source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp | |
parent | 14ee107b1f16010af1fea39cbd20c3db6a0753b2 (diff) |
D713: correct error /w braces (freestyle)
Differential revision: https://developer.blender.org/D713
Author: campbellbarton (Campbell Barton)
Diffstat (limited to 'source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp')
-rw-r--r-- | source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp b/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp index b7b5eb4162b..69ca45d3ec7 100644 --- a/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp +++ b/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp @@ -808,9 +808,10 @@ int BezierCurveShader::shade(Stroke& stroke) const ++it) { (it)->setAttribute(*a); - if ((index <= index1) || (index > index2)) + if ((index <= index1) || (index > index2)) { ++a; - ++index; + } + ++index; } return 0; } |