diff options
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_290.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_290.c b/source/blender/blenloader/intern/versioning_290.c index 74b3827ffd0..4980d748d0f 100644 --- a/source/blender/blenloader/intern/versioning_290.c +++ b/source/blender/blenloader/intern/versioning_290.c @@ -1733,6 +1733,14 @@ void blo_do_versions_290(FileData *fd, Library *UNUSED(lib), Main *bmain) * \note Keep this message at the bottom of the function. */ { + if (!DNA_struct_elem_find(fd->filesdna, "SceneEEVEE", "float", "bokeh_overblur")) { + LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) { + scene->eevee.bokeh_neighbor_max = 10.0f; + scene->eevee.bokeh_denoise_fac = 0.75f; + scene->eevee.bokeh_overblur = 5.0f; + } + } + /* Keep this block, even when empty. */ } } |