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>2006-07-19 15:28:48 +0400
committerTon Roosendaal <ton@blender.org>2006-07-19 15:28:48 +0400
commitf4737af50435b4f1dc0532a21b1f440994ca47b0 (patch)
tree04da09688beb147acc16d1a964d7d2124ad68260 /source/blender/makesdna/DNA_view3d_types.h
parentfe43c5e6f02660189094ef144e112e668b340eb6 (diff)
Bugfix #4724
Actually a bug since dark ages... the code that tries to find the view correction (zoom) factor for grabbing stored result in a global. With multiple 3d windows open, with different views, that could result in wrong correction. Just made the factor a local property in View3D.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index ed339243402..659c65a53f2 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -81,7 +81,7 @@ typedef struct View3D {
float winmat1[4][4]; // persp(1) storage, for swap matrices
float viewmat1[4][4];
- float viewquat[4], dist;
+ float viewquat[4], dist, zfac, pad0; /* zfac is initgrabz() result */
/**
* 0 - ortho