diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-24 23:10:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-24 23:12:13 +0300 |
commit | a4fe338dd8c6822d27b8858bae5fa9a54972719c (patch) | |
tree | 9a6b671702a7cf41e98efef72e78c7cc54974111 /source/blender/draw/modes/shaders/object_outline_prepass_geom.glsl | |
parent | b1f3a86d999b6742d783de5a11d7de0c54cf5891 (diff) |
Cleanup: add missing braces to draw manager
Diffstat (limited to 'source/blender/draw/modes/shaders/object_outline_prepass_geom.glsl')
-rw-r--r-- | source/blender/draw/modes/shaders/object_outline_prepass_geom.glsl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/draw/modes/shaders/object_outline_prepass_geom.glsl b/source/blender/draw/modes/shaders/object_outline_prepass_geom.glsl index 85da0f25654..36999267ef2 100644 --- a/source/blender/draw/modes/shaders/object_outline_prepass_geom.glsl +++ b/source/blender/draw/modes/shaders/object_outline_prepass_geom.glsl @@ -33,8 +33,9 @@ void main() /* If both adjacent verts are facing the camera the same way, * then it isn't an outline edge. */ - if (sign(fac0) == sign(fac3)) + if (sign(fac0) == sign(fac3)) { return; + } /* Don't outline if concave edge. */ /* That would hide a lot of non useful edge but it flickers badly. |