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>2003-11-06 22:20:56 +0300
committerTon Roosendaal <ton@blender.org>2003-11-06 22:20:56 +0300
commitecb758d47b24af67e4b7b54fc2d08d966212e51d (patch)
tree4928fc847a271644e2ca1ba8f7cad3e7e8d53e53 /source/blender/src/view.c
parente2e6bc37a9da31d5a10bff1191836ee253a9f42c (diff)
- selecting multiple objects at same location had error. was caused by
new code that manages multiple matrices for 'overlay' buttons. just forgot to add call persp(PERSP_VIEW);
Diffstat (limited to 'source/blender/src/view.c')
-rw-r--r--source/blender/src/view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/view.c b/source/blender/src/view.c
index 6bfd945537e..ea78c3df042 100644
--- a/source/blender/src/view.c
+++ b/source/blender/src/view.c
@@ -755,6 +755,8 @@ short selectprojektie(unsigned int *buffer, short x1, short y1, short x2, short
rect.ymin= y1;
rect.ymax= y2;
}
+ /* get rid of overlay button matrix */
+ persp(PERSP_VIEW);
setwinmatrixview3d(&rect);
Mat4MulMat4(G.vd->persmat, G.vd->viewmat, curarea->winmat);
@@ -799,6 +801,7 @@ short selectprojektie(unsigned int *buffer, short x1, short y1, short x2, short
G.zbuf= 0;
glDisable(GL_DEPTH_TEST);
}
+ persp(PERSP_WIN);
return hits;
}