[Bf-blender-cvs] [e37373d] master: Revert commit with perspective depth offset, makes simple cases such as loopcuts on cube have zfighting.
Antony Riakiotakis
noreply at git.blender.org
Wed Apr 29 11:19:34 CEST 2015
Commit: e37373d96e6784d08e3f6091733cff06923f5aae
Author: Antony Riakiotakis
Date: Wed Apr 29 11:19:23 2015 +0200
Branches: master
https://developer.blender.org/rBe37373d96e6784d08e3f6091733cff06923f5aae
Revert commit with perspective depth offset, makes simple cases such as
loopcuts on cube have zfighting.
===================================================================
M source/blender/editors/screen/glutil.c
===================================================================
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index a478a1f..c7421aa 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;
More information about the Bf-blender-cvs
mailing list