diff options
author | Ton Roosendaal <ton@blender.org> | 2004-09-25 19:15:26 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-09-25 19:15:26 +0400 |
commit | dfd583116a7066f354b25c77e7bceaabf4d1bf54 (patch) | |
tree | 6564084209d619cdbb29ac8d3f1f31bedcf14883 /source/blender/src/editmesh_mods.c | |
parent | dfef53a6328a26838ff6451ab4452b871766dd2c (diff) |
Zbuf-selection fix: while drawing vertices, it accepted writing in zbuf
for it too... giving (sometimes) no selection, and possible for linux the
solution too!
Diffstat (limited to 'source/blender/src/editmesh_mods.c')
-rw-r--r-- | source/blender/src/editmesh_mods.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editmesh_mods.c b/source/blender/src/editmesh_mods.c index 1ada47b4246..a5e190d8468 100644 --- a/source/blender/src/editmesh_mods.c +++ b/source/blender/src/editmesh_mods.c @@ -135,7 +135,7 @@ int EM_zbuffer_visible(float *co, short xs, short ys) glReadPixels(curarea->winrct.xmin+xs, curarea->winrct.ymin+ys, 1, 1, GL_DEPTH_COMPONENT, GL_FLOAT, &zval); - //printf("my proj %f zbuf %f mydiff %f\n", vec4[2], zval, vec4[2]-zval); + // printf("my proj %f zbuf %f mydiff %f\n", vec4[2], zval, vec4[2]-zval); if( vec4[2] > zval) return 0; return 1; } |