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>2005-03-23 17:24:43 +0300
committerTon Roosendaal <ton@blender.org>2005-03-23 17:24:43 +0300
commit09ed2cef75b17ef1e3dfe7e08184b53297ca210b (patch)
treedf4497a83af0b47fd189fb301422fbd29fea8af6 /source/blender/makesdna/DNA_view3d_types.h
parent7e6a65bc624e80f7fbb04613b7c51fc3a7683924 (diff)
New feature, since long on todo;
The grid function (transform translate, snap-to) now uses the grid step as displayed in the 3d window, so it depends on how much you zoomed in/out. The threshold for it is a bit tricky... it follows the drawing, but the blending in/out of grid makes it sometimes not obvious. might need slight tweak?
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 19bee996a59..f7857f5d52a 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -97,7 +97,7 @@ typedef struct View3D {
int lay, layact;
short scenelock, around, camzoom, flag;
- float lens, grid, near, far;
+ float lens, grid, gridview, pad, near, far;
float ofs[3], cursor[3];
short mx, my; /* have to remain together, because used as single pointer */