diff options
author | Martin Poirier <theeth@yahoo.com> | 2006-10-26 03:34:24 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2006-10-26 03:34:24 +0400 |
commit | 2556254e925cb93a203a5801e36fd24d2e44c985 (patch) | |
tree | 3d7f8167790e9d5a5c6a8f6916584fdc81c22d19 /source/blender/makesdna | |
parent | 07ce6032992946c14ab6a854b6fba9cd7d8a7198 (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')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 4 |
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; |