diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-04-29 12:19:23 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-04-29 12:19:23 +0300 |
commit | e37373d96e6784d08e3f6091733cff06923f5aae (patch) | |
tree | 69dcb90ec07f1e74ce14fd675afbb0a2babaa068 /source/blender/editors/screen/glutil.c | |
parent | 029bd44bbd0fc6c1c59c6cb37f9e70c4dd23f91d (diff) |
Revert commit with perspective depth offset, makes simple cases such as
loopcuts on cube have zfighting.
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r-- | source/blender/editors/screen/glutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c index a478a1f1b84..c7421aa0c16 100644 --- a/source/blender/editors/screen/glutil.c +++ b/source/blender/editors/screen/glutil.c @@ -1024,7 +1024,7 @@ void bglPolygonOffset(float viewdist, float dist) } else { /* should be clipping value or so... */ - offs = 0.0001f * dist; + offs = 0.0005f * dist; } winmat[14] -= offs; |