Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-04-29 12:19:23 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-04-29 12:19:23 +0300
commite37373d96e6784d08e3f6091733cff06923f5aae (patch)
tree69dcb90ec07f1e74ce14fd675afbb0a2babaa068 /source/blender/editors
parent029bd44bbd0fc6c1c59c6cb37f9e70c4dd23f91d (diff)
Revert commit with perspective depth offset, makes simple cases such as
loopcuts on cube have zfighting.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/screen/glutil.c2
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;