Commit: 5216eaec1df78954834ccba3f3dadd6c63818683
Author: Dalai Felinto
Date:   Fri Feb 9 17:05:43 2018 -0200
Branches: blender2.8
https://developer.blender.org/rB5216eaec1df78954834ccba3f3dadd6c63818683

Eevee: Film filter default to 1.5 instead of 1.0

Cycles already uses 1.5 as default. BI original 1.0 filter doesn't look good for
Eevee. The ideal scenario would be for both Cycles AND Eevee to use the same DNA
setting.

But for now it is nice to at least have Eevee renders to look better by default.

Note: This handles doversion for 2.7x files only. Files previously created in
2.8 need to be manually corrected.

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

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

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

diff --git a/source/blender/blenkernel/intern/scene.c 
b/source/blender/blenkernel/intern/scene.c
index e3166b7d0b2..a4ccf3b9bba 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -618,7 +618,7 @@ void BKE_scene_init(Scene *sce)
         */
        sce->r.color_mgt_flag |= R_COLOR_MANAGEMENT;
 
-       sce->r.gauss = 1.0;
+       sce->r.gauss = 1.5f;
        
        /* deprecated but keep for upwards compat */
        sce->r.postgamma = 1.0;
diff --git a/source/blender/blenloader/intern/versioning_280.c 
b/source/blender/blenloader/intern/versioning_280.c
index 2f07ca43ff0..9d911ffdf27 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -701,6 +701,10 @@ void blo_do_versions_280(FileData *fd, Library 
*UNUSED(lib), Main *main)
                                }
                        }
                }
+
+               for (Scene *scene = main->scene.first; scene; scene = 
scene->id.next) {
+                       scene->r.gauss = 1.5f;
+               }
        }
 
        if (!MAIN_VERSION_ATLEAST(main, 280, 1)) {

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

Reply via email to