diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-15 13:21:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-15 13:44:13 +0400 |
commit | ea99efeb2ca91b108bf3e86f4964e1a4555b46d8 (patch) | |
tree | 0eedd99c4b3c524fabe8a743c077b616d5124a54 /source/blender/freestyle/intern/stroke | |
parent | d9211b1e7b8503c67ad7898c09b338902e794e9d (diff) |
Code cleanup: indentation
Diffstat (limited to 'source/blender/freestyle/intern/stroke')
-rw-r--r-- | source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp | 4 | ||||
-rw-r--r-- | source/blender/freestyle/intern/stroke/StrokeTesselator.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp b/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp index d30a75d9e14..274e36a4c9b 100644 --- a/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp +++ b/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp @@ -301,7 +301,7 @@ void Smoother::computeCurvature() _curvature[i] = normalCurvature * _normal[i]; if (lba + lbc > M_EPSILON) - _curvature[i] /= (0.5 * lba + lbc); + _curvature[i] /= (0.5 * lba + lbc); } _curvature[0] = _curvature[1]; _curvature[_nbVertices - 1] = _curvature[_nbVertices - 2]; @@ -325,7 +325,7 @@ void Smoother::computeCurvature() _curvature[i] = normalCurvature * _normal[i]; if (lba + lbc > M_EPSILON) - _curvature[i] /= (0.5 * lba + lbc); + _curvature[i] /= (0.5 * lba + lbc); _normal[_nbVertices - 1] = _normal[0]; _curvature[_nbVertices - 1] = _curvature[0]; diff --git a/source/blender/freestyle/intern/stroke/StrokeTesselator.cpp b/source/blender/freestyle/intern/stroke/StrokeTesselator.cpp index 443e14bd0f3..fb221735fb1 100644 --- a/source/blender/freestyle/intern/stroke/StrokeTesselator.cpp +++ b/source/blender/freestyle/intern/stroke/StrokeTesselator.cpp @@ -56,7 +56,7 @@ LineRep *StrokeTesselator::Tesselate(Stroke *iStroke) } else { if (_overloadFrsMaterial) - line->setFrsMaterial(_FrsMaterial); + line->setFrsMaterial(_FrsMaterial); line->setStyle(LineRep::LINE_STRIP); |