Commit: 970d4ad6960e9cf4da22a2518eddbfe7358fc7dc
Author: YimingWu
Date:   Wed Oct 14 19:04:50 2020 +0800
Branches: lanpr-under-gp
https://developer.blender.org/rB970d4ad6960e9cf4da22a2518eddbfe7358fc7dc

LineArt: default crease value changes to degrees.

===================================================================

M       source/blender/blenloader/intern/versioning_280.c

===================================================================

diff --git a/source/blender/blenloader/intern/versioning_280.c 
b/source/blender/blenloader/intern/versioning_280.c
index 2eb657d3804..b7617e85ce3 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -5118,7 +5118,7 @@ void blo_do_versions_280(FileData *fd, Library 
*UNUSED(lib), Main *bmain)
     for (Scene *scene = bmain->scenes.first; scene; scene = scene->id.next) {
       if (!DNA_struct_find(fd->filesdna, "SceneLineart")) {
         for (Scene *scene = bmain->scenes.first; scene; scene = 
scene->id.next) {
-          scene->lineart.crease_threshold = 0.7f;
+          scene->lineart.crease_threshold = 145.0f; /* in degrees. */
           scene->lineart.line_types |= LRT_EDGE_FLAG_ALL_TYPE;
           scene->lineart.flags |= LRT_ALLOW_DUPLI_OBJECTS;
         }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to