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-09-23 17:34:26 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-09-23 17:35:15 +0400
commitd342f46682a7def4ba84ab6bc939473385d85f08 (patch)
treee2f05acff6a1a51da805f0a6f97e6a6df19c4d54
parent14ee107b1f16010af1fea39cbd20c3db6a0753b2 (diff)
D713: correct error /w braces (freestyle)
Differential revision: https://developer.blender.org/D713 Author: campbellbarton (Campbell Barton)
-rw-r--r--source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp5
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;
}