diff options
author | Ton Roosendaal <ton@blender.org> | 2010-12-28 14:01:26 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2010-12-28 14:01:26 +0300 |
commit | d0074169fb7696b53030037a1a48ae3608346306 (patch) | |
tree | 3001d3ced3d7e659b1308c7b1f637d063b1d75b3 | |
parent | 3c96b0050003d841b81887d3d8a8b8bdc2b4bfbc (diff) |
Bugfix: creating new 3d views in Blender now uses same defaults
as startup blend: showing solid + outline selection.
(It was wire, without outline select... confused people)
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index 08c50b95778..5c54791b2a0 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -196,13 +196,15 @@ static SpaceLink *view3d_new(const bContext *C) v3d->grid= 1.0f; v3d->gridlines= 16; v3d->gridsubdiv = 10; - v3d->drawtype= OB_WIRE; + v3d->drawtype= OB_SOLID; v3d->gridflag |= V3D_SHOW_X; v3d->gridflag |= V3D_SHOW_Y; v3d->gridflag |= V3D_SHOW_FLOOR; v3d->gridflag &= ~V3D_SHOW_Z; + v3d->flag |= V3D_SELECT_OUTLINE; + v3d->lens= 35.0f; v3d->near= 0.01f; v3d->far= 500.0f; |