D713: correct error /w braces (freestyle)
Differential revision: https://developer.blender.org/D713 Author: campbellbarton (Campbell Barton)
This commit is contained in:
parent
14ee107b1f
commit
d342f46682
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue