D713: correct error /w braces (freestyle)

Differential revision: https://developer.blender.org/D713

Author: campbellbarton (Campbell Barton)
This commit is contained in:
Tamito Kajiyama 2014-09-23 22:34:26 +09:00
parent 14ee107b1f
commit d342f46682
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}