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:
authorMartin Poirier <theeth@yahoo.com>2006-10-26 03:34:24 +0400
committerMartin Poirier <theeth@yahoo.com>2006-10-26 03:34:24 +0400
commit2556254e925cb93a203a5801e36fd24d2e44c985 (patch)
tree3d7f8167790e9d5a5c6a8f6916584fdc81c22d19 /source/blender/makesdna/DNA_view3d_types.h
parent07ce6032992946c14ab6a854b6fba9cd7d8a7198 (diff)
== 3D View ==
Customizable Grid Subdivisions This commit adds a numbut to the View Properties panel that lets you specify how the grid is subdivided. This affects snapping in translations, obviously. Default: 10 (behavior doesn't change) That means people still stuck in feet and inches (shudders) can set it to 12 and have 1 unit = 1 foot. That also means you can work in "heads" when doing body proportions or whatnot (don't think of it as being limite to "CAD" uses).
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index 659c65a53f2..b62c815b2b2 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -130,7 +130,9 @@ typedef struct View3D {
short flag, flag2;
- short pad2[3];
+ short gridsubdiv; // Number of subdivisions in the grid between each highlighted grid line
+
+ short pad2[2];
} View3D;