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