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-09-29 14:49:19 +0400
committerTon Roosendaal <ton@blender.org>2004-09-29 14:49:19 +0400
commitceb7d3db464377ac86e9ae92c8bd4a9ee09ddec2 (patch)
treeb77584b832f48ae8c1467fff7977d3b7783b6845 /source/blender/src/view.c
parent01e6d69ff5db756a529ebb912a3aa6861d213221 (diff)
Two fixes;
- borderselect draws cleaner info in bottom/left corner window - OGL render (in view3d header) option didn't work on successive renders. was due to removing hack that reopened the window each time. But now it needed to be assigned correctly to blender's 'mywindow' system.
Diffstat (limited to 'source/blender/src/view.c')
-rw-r--r--source/blender/src/view.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/view.c b/source/blender/src/view.c
index 9f8e65da670..1327e60dc99 100644
--- a/source/blender/src/view.c
+++ b/source/blender/src/view.c
@@ -586,6 +586,7 @@ void viewmove(int mode)
short v3d_windowmode=0;
+/* important to not set windows active in here, can be renderwin for example */
void setwinmatrixview3d(rctf *rect) /* rect: for picking */
{
Camera *cam=0;
@@ -629,7 +630,7 @@ void setwinmatrixview3d(rctf *rect) /* rect: for picking */
}
}
- if(v3d_windowmode) {
+ if(v3d_windowmode) { // hackish
winx= R.rectx;
winy= R.recty;
}
@@ -723,7 +724,7 @@ void obmat_to_viewmat(Object *ob)
Mat3ToQuat(tmat, G.vd->viewquat);
}
-
+/* dont set windows active in in here, is used by renderwin too */
void setviewmatrixview3d()
{
Camera *cam;