* Preferences for displaying the grid floor, X axis, Y axis,

Z axis. (ported from tuhopuu2)

Controls are found in the 3D View Properties panel (with
the rest of the grid settings). This is more flexible for
people like me who hate the grid getting in the way when
modelling - turning off the grid floor and turning on the Z
axis gives a setup like in Wings 3D or Clay.

* Cleaned up the 3D View Properties and Background Image panel's layout while I was adding the new buttons (including change over to UiDefButBit).
This commit is contained in:
2004-01-24 05:06:12 +00:00
parent 9c6662e4e0
commit b0479d893f
4 changed files with 182 additions and 52 deletions

View File

@@ -1523,6 +1523,10 @@ void initview3d(ScrArea *sa)
vd->camera= G.scene->camera;
}
vd->scenelock= 1;
vd->gridflag |= V3D_SHOW_X;
vd->gridflag |= V3D_SHOW_Y;
vd->gridflag |= V3D_SHOW_FLOOR;
vd->gridflag &= ~V3D_SHOW_Z;
}