diff options
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 7602b05ca76..4261682a17c 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -5198,6 +5198,13 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) } } + if (!MAIN_VERSION_ATLEAST(bmain, 283, 16)) { + /* Init SMAA threshold for grease pencil render. */ + LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) { + scene->grease_pencil_settings.smaa_threshold = 1.0f; + } + } + /** * Versioning code until next subversion bump goes here. * |