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:
authorTon Roosendaal <ton@blender.org>2004-10-30 23:12:34 +0400
committerTon Roosendaal <ton@blender.org>2004-10-30 23:12:34 +0400
commit9968d2b5bab218559107839b29a179799ad1c3dd (patch)
tree611a2238c689c3b2f40ebd4b2e699d0cda523b17 /source/blender/src/editmesh_loop.c
parent8aa1948c104b5a235908c3af7812dae6a668e311 (diff)
Fix for ALT+B loopselect, in Z-culling selection mode...
Order of drawing had to be flipped
Diffstat (limited to 'source/blender/src/editmesh_loop.c')
-rw-r--r--source/blender/src/editmesh_loop.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/src/editmesh_loop.c b/source/blender/src/editmesh_loop.c
index 283f33335bb..c7f74d10a84 100644
--- a/source/blender/src/editmesh_loop.c
+++ b/source/blender/src/editmesh_loop.c
@@ -161,9 +161,11 @@ void vertex_loop_select()
mvalo[0] = mval[0];
mvalo[1] = mval[1];
- scrarea_do_windraw(curarea);
dist= 50;
nearest = findnearestedge(&dist); // returns actual distance in dist
+
+ scrarea_do_windraw(curarea); // after findnearestedge, backbuf!
+
if (nearest && edgeFaces(nearest)==2) {
for(search = em->edges.first;search;search=search->next)
search->f &= ~32;
@@ -297,6 +299,12 @@ void vertex_loop_select()
screen_swapbuffers();
+ /* backbuffer refresh for non-apples (no aux) */
+#ifndef __APPLE__
+ if(G.vd->drawtype>OB_WIRE && (G.vd->flag & V3D_ZBUF_SELECT)) {
+ backdrawview3d(0);
+ }
+#endif
while(qtest())
{
val=0;