From 2556254e925cb93a203a5801e36fd24d2e44c985 Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Wed, 25 Oct 2006 23:34:24 +0000 Subject: == 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). --- source/blender/makesdna/DNA_view3d_types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_view3d_types.h') 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; -- cgit v1.2.3