Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-05-12 18:54:20 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-05-12 18:54:20 +0300
commit33f9fe3c620fef1d1ad2cb3443bf503afdb9db3b (patch)
treea841b5f04d635d0af308f6bfce94c69ca6a2e6c1 /source/blender/blenloader
parent25c67a65d686aa04570db7409618ad779318c17a (diff)
parentf24e9bb0380936bcaf6c194b54342a2977784cff (diff)
Merge branch 'blender-v2.83-release'
Conflicts: release/scripts/startup/bl_ui/properties_render.py source/blender/blenkernel/BKE_blender_version.h
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_280.c7
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.
*