diff options
author | Julian Eisel <julian@blender.org> | 2020-03-11 18:27:48 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-03-11 18:27:48 +0300 |
commit | 00f83ec125207e90bf180b3eb7752d8cb6482a86 (patch) | |
tree | 171ccf6200cc10e1d85d623da11f588de34ae74d /source/blender/blenloader/intern/versioning_280.c | |
parent | a2d04deda79633c3a0c7306f36b8100cf2f4b49b (diff) |
Cleanup and correct wrong bpy.app.build_options usage
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index d6e9826d542..34041b0ca22 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -4799,19 +4799,6 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) } } - /* Keep this block, even when empty. */ - if (!DNA_struct_find(fd->filesdna, "XrSessionSettings")) { - for (wmWindowManager *wm = bmain->wm.first; wm; wm = wm->id.next) { - const View3D *v3d_default = DNA_struct_default_get(View3D); - - wm->xr.session_settings.shading_type = OB_SOLID; - wm->xr.session_settings.draw_flags = (V3D_OFSDRAW_SHOW_GRIDFLOOR | - V3D_OFSDRAW_SHOW_ANNOTATION); - wm->xr.session_settings.clip_start = v3d_default->clip_start; - wm->xr.session_settings.clip_end = v3d_default->clip_end; - } - } - /* Alembic Transform Cache changed from local to world space. */ LISTBASE_FOREACH (Object *, ob, &bmain->objects) { LISTBASE_FOREACH (bConstraint *, con, &ob->constraints) { |