Commit: d342f46682a7def4ba84ab6bc939473385d85f08 Author: Tamito Kajiyama Date: Tue Sep 23 22:34:26 2014 +0900 Branches: master https://developer.blender.org/rBd342f46682a7def4ba84ab6bc939473385d85f08
D713: correct error /w braces (freestyle) Differential revision: https://developer.blender.org/D713 Author: campbellbarton (Campbell Barton) =================================================================== M source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp =================================================================== diff --git a/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp b/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp index b7b5eb4..69ca45d 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; } _______________________________________________ Bf-blender-cvs mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-blender-cvs
