diff options
author | Julian Eisel <julian@blender.org> | 2020-04-24 16:19:54 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-04-24 17:17:47 +0300 |
commit | 246d59ff0ff2b4848d9b3b57e5c01dde3f2246e3 (patch) | |
tree | e3ca3385f20b6ef05e20e7b953a86df380ceb02a /source | |
parent | 47ae0affc8f29df92c82f2a9580b58f84819df7d (diff) |
Defaults: Reduce near-clipping in factory settings
For newly opened 3D Views, the default would actually be 0.01m. But the
code to update the default for all existing 3D Views in the
startup.blend was missing. So the defaults were out-of-sync.
0.01m is the more reasonable default as agreed on by the UI team.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenloader/intern/versioning_defaults.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c index aa34bfd0de1..291713bc973 100644 --- a/source/blender/blenloader/intern/versioning_defaults.c +++ b/source/blender/blenloader/intern/versioning_defaults.c @@ -197,6 +197,7 @@ static void blo_update_defaults_screen(bScreen *screen, v3d->gp_flag |= V3D_GP_SHOW_EDIT_LINES; /* Remove dither pattern in wireframe mode. */ v3d->shading.xray_alpha_wire = 0.0f; + v3d->clip_start = 0.01f; /* Skip startups that use the viewport color by default. */ if (v3d->shading.background_type != V3D_SHADING_BACKGROUND_VIEWPORT) { copy_v3_fl(v3d->shading.background_color, 0.05f); |